diff options
Diffstat (limited to 'core/network.c')
-rw-r--r-- | core/network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/network.c b/core/network.c index 5aa0d304..6a4d0bce 100644 --- a/core/network.c +++ b/core/network.c | |||
@@ -144,7 +144,7 @@ int init_networking(IP ip, uint16_t port) | |||
144 | /*Enable broadcast on socket*/ | 144 | /*Enable broadcast on socket*/ |
145 | int broadcast = 1; | 145 | int broadcast = 1; |
146 | setsockopt(sock, SOL_SOCKET, SO_BROADCAST, (char*)&broadcast, sizeof(broadcast)); | 146 | setsockopt(sock, SOL_SOCKET, SO_BROADCAST, (char*)&broadcast, sizeof(broadcast)); |
147 | 147 | ||
148 | /* Set socket nonblocking */ | 148 | /* Set socket nonblocking */ |
149 | #ifdef WIN32 | 149 | #ifdef WIN32 |
150 | /* I think this works for windows */ | 150 | /* I think this works for windows */ |