mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
and remove outdated comment :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3033 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
bae71dff48
commit
7fc3a951cd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user