Paranoia change - also check original BSD return value.

This commit is contained in:
lotodore
2008-02-22 15:43:09 +00:00
parent 809f7c1a0f
commit 75ef6616e8
+1 -1
View File
@@ -62,7 +62,7 @@ typedef unsigned char u_char;
#define SOCKET_ERR_NOTCONN ENOTCONN
#define SOCKET_ERR_NOTSOCK ENOTSOCK
#define IS_SOCKET_ERR_WOULDBLOCK(_e) ((_e) == EINPROGRESS || (_e) == EAGAIN)
#define IS_SOCKET_ERR_WOULDBLOCK(_e) ((_e) == EINPROGRESS || (_e) == EAGAIN || (_e) == EWOULDBLOCK)
#endif