diff options
author | SilentSand <edb881@gmail.com> | 2013-07-26 04:02:17 -0400 |
---|---|---|
committer | SilentSand <edb881@gmail.com> | 2013-07-26 04:02:17 -0400 |
commit | 59b34e423beb75fcd3e3c8abc2c05fe60aca26bc (patch) | |
tree | 6d1686d86da385579e862d8c761be9b59db92a48 /core/network.c | |
parent | b9169ff1b2a4e1dd13ed40f3902d06ed020eefb7 (diff) |
Formatting.
Many stylistic changes, mostly formatting code more closely to the
coding style.
Diffstat (limited to 'core/network.c')
-rw-r--r-- | core/network.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/network.c b/core/network.c index 8c9cd0bd..5aa0d304 100644 --- a/core/network.c +++ b/core/network.c | |||
@@ -23,7 +23,6 @@ | |||
23 | 23 | ||
24 | #include "network.h" | 24 | #include "network.h" |
25 | 25 | ||
26 | |||
27 | /* returns current UNIX time in microseconds (us). */ | 26 | /* returns current UNIX time in microseconds (us). */ |
28 | uint64_t current_time() | 27 | uint64_t current_time() |
29 | { | 28 | { |
@@ -128,7 +127,6 @@ int init_networking(IP ip, uint16_t port) | |||
128 | return -1; | 127 | return -1; |
129 | #endif | 128 | #endif |
130 | 129 | ||
131 | |||
132 | /* Functions to increase the size of the send and receive UDP buffers | 130 | /* Functions to increase the size of the send and receive UDP buffers |
133 | NOTE: uncomment if necessary */ | 131 | NOTE: uncomment if necessary */ |
134 | /* | 132 | /* |
@@ -146,7 +144,6 @@ int init_networking(IP ip, uint16_t port) | |||
146 | /*Enable broadcast on socket*/ | 144 | /*Enable broadcast on socket*/ |
147 | int broadcast = 1; | 145 | int broadcast = 1; |
148 | setsockopt(sock, SOL_SOCKET, SO_BROADCAST, (char*)&broadcast, sizeof(broadcast)); | 146 | setsockopt(sock, SOL_SOCKET, SO_BROADCAST, (char*)&broadcast, sizeof(broadcast)); |
149 | |||
150 | 147 | ||
151 | /* Set socket nonblocking */ | 148 | /* Set socket nonblocking */ |
152 | #ifdef WIN32 | 149 | #ifdef WIN32 |