ws2_32: Do not print an ERR message when returning WSAEWOULDBLOCK from WSAIoctl().

Signed-off-by: Jeff Latimer <lats@yless4u.com.au>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jeff Latimer 2021-01-17 10:08:19 +11:00 committed by Alexandre Julliard
parent 04a9c9eba7
commit 89b82195cd
1 changed files with 1 additions and 1 deletions

View File

@ -4957,7 +4957,7 @@ INT WINAPI WSAIoctl(SOCKET s, DWORD code, LPVOID in_buff, DWORD in_size, LPVOID
overlapped, completion);
if (status != WSAEOPNOTSUPP)
{
if (status == 0 || status == WSA_IO_PENDING)
if (status == 0 || status == WSA_IO_PENDING || status == WSAEWOULDBLOCK)
TRACE("-> %s request\n", debugstr_wsaioctl(code));
else
ERR("-> %s request failed with status 0x%x\n", debugstr_wsaioctl(code), status);