diff options
author | Timo Sirainen <cras@irssi.org> | 2002-01-04 21:28:26 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-01-04 21:28:26 +0000 |
commit | 41e92b3062eb27c99690e62540c16e96a6781424 (patch) | |
tree | 4283ee68ba6cdfbb5c4f3a511085ce64bde91acf /src/core | |
parent | 8996062276c8a7528ed575b41ffea80f37aa1137 (diff) | |
download | irssi-41e92b3062eb27c99690e62540c16e96a6781424.zip |
the same #ifdef { parsing problem..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2296 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/network.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/network.c b/src/core/network.c index 32bbc13c..07dbe477 100644 --- a/src/core/network.c +++ b/src/core/network.c @@ -212,10 +212,11 @@ GIOChannel *net_connect_ip(IPADDR *ip, int port, IPADDR *my_ip) ret = connect(handle, &so.sa, SIZEOF_SOCKADDR(so)); #ifndef WIN32 - if (ret < 0 && errno != EINPROGRESS) { + if (ret < 0 && errno != EINPROGRESS) #else - if (ret < 0 && WSAGetLastError() != WSAEWOULDBLOCK) { + if (ret < 0 && WSAGetLastError() != WSAEWOULDBLOCK) #endif + { close(handle); return NULL; } |