diff options
Diffstat (limited to 'src/core/network.c')
-rw-r--r-- | src/core/network.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/network.c b/src/core/network.c index f5a6608b..64605413 100644 --- a/src/core/network.c +++ b/src/core/network.c @@ -202,7 +202,6 @@ GIOChannel *net_connect_ip(IPADDR *ip, int port, IPADDR *my_ip) if (my_ip != NULL) { sin_set_ip(&so, my_ip); if (bind(handle, &so.sa, SIZEOF_SOCKADDR(so)) < 0) { - /* failed, set it back to INADDR_ANY */ int old_errno = errno; close(handle); |