Some signed/unsigned warnings removed. Don't call fe_exec_init/deinit in win32

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1104 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-01-11 10:15:34 +00:00 committed by cras
commit 1a3c700838
7 changed files with 19 additions and 11 deletions

View file

@ -180,7 +180,11 @@ GIOChannel *net_connect_ip(IPADDR *ip, int port, IPADDR *my_ip)
sin_set_port(&so, port);
ret = connect(handle, &so.sa, SIZEOF_SOCKADDR(so));
#ifndef WIN32
if (ret < 0 && errno != EINPROGRESS) {
#else
if (ret < 0 && WSAGetLastError() != WSAEWOULDBLOCK) {
#endif
close(handle);
return NULL;
}