Alexandre Julliard : ws2_32: Re-enable FD_READ also when returning EWOULDBLOCK from WSARecvFrom().

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jun 1 06:44:28 CDT 2007


Module: wine
Branch: master
Commit: a1192b03d1ba25de4829a9be551f0c8354ae2b43
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a1192b03d1ba25de4829a9be551f0c8354ae2b43

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Jun  1 11:14:44 2007 +0200

ws2_32: Re-enable FD_READ also when returning EWOULDBLOCK from WSARecvFrom().

---

 dlls/ws2_32/socket.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index decbf22..89fac2c 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -4290,6 +4290,7 @@ INT WINAPI WSARecvFrom( SOCKET s, LPWSABUF lpBuffers, DWORD dwBufferCount,
         }
         else
         {
+            _enable_event(SOCKET2HANDLE(s), FD_READ, 0, 0);
             err = WSAEWOULDBLOCK;
             goto error;
         }




More information about the wine-cvs mailing list