diff options
Diffstat (limited to 'core/network.c')
-rw-r--r-- | core/network.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/network.c b/core/network.c index 684a4227..9ec390fb 100644 --- a/core/network.c +++ b/core/network.c | |||
@@ -196,7 +196,6 @@ Networking_Core * new_networking(IP ip, uint16_t port) | |||
196 | /* Bind our socket to port PORT and address 0.0.0.0 */ | 196 | /* Bind our socket to port PORT and address 0.0.0.0 */ |
197 | ADDR addr = {AF_INET, htons(port), ip}; | 197 | ADDR addr = {AF_INET, htons(port), ip}; |
198 | bind(temp->sock, (struct sockaddr *)&addr, sizeof(addr)); | 198 | bind(temp->sock, (struct sockaddr *)&addr, sizeof(addr)); |
199 | temp_net = temp; | ||
200 | return temp; | 199 | return temp; |
201 | } | 200 | } |
202 | 201 | ||