From 4b1b2eca39042ddec1b055c4d8286e26b880676a Mon Sep 17 00:00:00 2001 From: Elvio Basello Date: Mon, 11 Aug 2008 12:49:52 +0000 Subject: [PATCH] fixed tags repo git-svn-id: https://svn.kvirc.de/svn/tags/kvirc/3.4.0@2226 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/kvilib/net/kvi_socket.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kvilib/net/kvi_socket.h b/src/kvilib/net/kvi_socket.h index 48f75fd851..95352f120c 100644 --- a/src/kvilib/net/kvi_socket.h +++ b/src/kvilib/net/kvi_socket.h @@ -183,7 +183,7 @@ inline bool kvi_socket_recoverableConnectError(int err) return ((err == WSAEINPROGRESS) || (err == WSAEWOULDBLOCK)); #else return (err == EINPROGRESS); -#endif +#endif }; inline bool kvi_socket_recoverableError(int err) @@ -191,7 +191,7 @@ inline bool kvi_socket_recoverableError(int err) #ifdef COMPILE_ON_WINDOWS return ((err == WSAEWOULDBLOCK) || (err == EINTR) || (err == EAGAIN)); #else - return ((err == EINTR) || (err == EAGAIN)); + return ((err == EINTR) || (err = EAGAIN)); #endif }