summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-08-14 17:14:04 +0000
committersmatz <smatz@openttd.org>2009-08-14 17:14:04 +0000
commit2d3ddab7ca440e8ca032efd7d15986a1f7b9129b (patch)
treed7b3f8aa85c6fbc4fcd7b7cdf8a6d930b94e3f3c /src/network
parentc5533ae4708d85dcdff8e53515e17ab593f7f361 (diff)
downloadopenttd-2d3ddab7ca440e8ca032efd7d15986a1f7b9129b.tar.xz
(svn r17169) -Codechange: apply coding style to some for statements
Diffstat (limited to 'src/network')
-rw-r--r--src/network/core/host.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/host.cpp b/src/network/core/host.cpp
index 7adb64f01..ef0db3238 100644
--- a/src/network/core/host.cpp
+++ b/src/network/core/host.cpp
@@ -117,7 +117,7 @@ static void NetworkFindBroadcastIPsInternal(NetworkAddressList *broadcast) // Wi
int num = 2;
INTERFACE_INFO *ifo = CallocT<INTERFACE_INFO>(num);
- for(;;) {
+ for (;;) {
if (WSAIoctl(sock, SIO_GET_INTERFACE_LIST, NULL, 0, ifo, num * sizeof(*ifo), &len, NULL, NULL) == 0) break;
free(ifo);
if (WSAGetLastError() != WSAEFAULT) {