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

Alexandre Julliard julliard at winehq.org
Wed Jan 20 16:58:42 CST 2021


Module: wine
Branch: master
Commit: 89b82195cd43cebee2c174e89baa0489429289ad
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=89b82195cd43cebee2c174e89baa0489429289ad

Author: Jeff Latimer <lats at yless4u.com.au>
Date:   Sun Jan 17 10:08:19 2021 +1100

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

Signed-off-by: Jeff Latimer <lats at yless4u.com.au>
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ws2_32/socket.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index d865a5dd05f..381c61d5e10 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -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);




More information about the wine-cvs mailing list