ws2_32: Re-enable FD_READ also when returning EWOULDBLOCK from WSARecvFrom().
This commit is contained in:
parent
3739b5f995
commit
a1192b03d1
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue