mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 00:52:30 +02: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
1 changed files with 0 additions and 1 deletions
|
|
@ -202,7 +202,6 @@ GIOChannel *net_connect_ip(IPADDR *ip, int port, IPADDR *my_ip)
|
||||||
if (my_ip != NULL) {
|
if (my_ip != NULL) {
|
||||||
sin_set_ip(&so, my_ip);
|
sin_set_ip(&so, my_ip);
|
||||||
if (bind(handle, &so.sa, SIZEOF_SOCKADDR(so)) < 0) {
|
if (bind(handle, &so.sa, SIZEOF_SOCKADDR(so)) < 0) {
|
||||||
/* failed, set it back to INADDR_ANY */
|
|
||||||
int old_errno = errno;
|
int old_errno = errno;
|
||||||
|
|
||||||
close(handle);
|
close(handle);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue