summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-11-29 13:38:48 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-11-29 13:38:48 +0000
commit7fc3a951cd0372f1089c2ad71c80035776c52b0e (patch)
treec2d37b4c02713d5c6f4f94d156497a3e96a547f7 /src
parentbae71dff48507fadb62ffa0807fcf6440e8d2004 (diff)
downloadirssi-7fc3a951cd0372f1089c2ad71c80035776c52b0e.zip
and remove outdated comment :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3033 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/core/network.c1
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);