[PATCH] ws2_32: Discard MSG_PARTIAL as it is supported only in message protocols

Bruno Jesus 00cpxxx at gmail.com
Tue Feb 28 00:19:07 CST 2017


From: Bruno Jesus <bjesus at codeweavers.com>

Reduces the noise in the log of Hellgate London which wrongly uses MSG_PARTIAL on SOCK_STREAM. No supported protocols have MSG_PARTIAL support.

Signed-off-by: Bruno Jesus <bjesus at codeweavers.com>
---
 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 f0e8f2a..bd63d46 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -624,6 +624,7 @@ static const int ws_flags_map[][2] =
     MAP_OPTION( MSG_PEEK ),
     MAP_OPTION( MSG_DONTROUTE ),
     MAP_OPTION( MSG_WAITALL ),
+    { WS_MSG_PARTIAL, 0 },
 };
 
 static const int ws_sock_map[][2] =
-- 
2.9.3




More information about the wine-patches mailing list