From 41e92b3062eb27c99690e62540c16e96a6781424 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Fri, 4 Jan 2002 21:28:26 +0000 Subject: [PATCH] the same #ifdef { parsing problem.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2296 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/network.c | 5 +++-- 1 file 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; }