From 6faa658ff814d14f705ae23bd3a6b61a5af6ff8c Mon Sep 17 00:00:00 2001 From: Voker57 Date: Sun, 10 Aug 2008 16:00:15 +0000 Subject: [PATCH] Backported fix git-svn-id: https://svn.kvirc.de/svn/tags/kvirc/3.4.0@2223 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 95352f120c..48f75fd851 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 }