Paranoia change - also check original BSD return value.
This commit is contained in:
1 parent
809f7c1a0f
commit
75ef6616e8
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user