From a1192b03d1ba25de4829a9be551f0c8354ae2b43 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 1 Jun 2007 11:14:44 +0200 Subject: [PATCH] ws2_32: Re-enable FD_READ also when returning EWOULDBLOCK from WSARecvFrom(). --- dlls/ws2_32/socket.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c index decbf22ca96..89fac2cbdab 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; }