diff options
author | jsorg71 <jsorg71> | 2006-12-20 06:30:08 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2006-12-20 06:30:08 +0000 |
commit | d6e5f1996eaae4e42d2d9924d04e109d85d36f91 (patch) | |
tree | fc4dfebef77fd90a1ad63bccb4ed5003cc2d288b | |
parent | c480af5636c216bac1c92d5829aca915f8ca5e44 (diff) | |
download | xrdp-proprietary-d6e5f1996eaae4e42d2d9924d04e109d85d36f91.tar.gz xrdp-proprietary-d6e5f1996eaae4e42d2d9924d04e109d85d36f91.zip |
added EINPROGRESS as a valid blocking errno
-rw-r--r-- | common/os_calls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/os_calls.c b/common/os_calls.c index e551a6f7..2296180f 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -408,7 +408,7 @@ g_tcp_last_error_would_block(int sck) #if defined(_WIN32) return WSAGetLastError() == WSAEWOULDBLOCK; #else - return errno == EWOULDBLOCK; + return (errno == EWOULDBLOCK) || (errno == EINPROGRESS); #endif } |