Jiangyi Chen : ws2_32: Add a missing break.

Alexandre Julliard julliard at winehq.org
Mon Mar 15 16:59:14 CDT 2021


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

Author: Jiangyi Chen <chenjiangyi at uniontech.com>
Date:   Mon Mar 15 11:24:02 2021 +0800

ws2_32: Add a missing break.

Signed-off-by: Jiangyi Chen <chenjiangyi at uniontech.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 6e783f87ee7..28b14e71c9c 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -7484,6 +7484,7 @@ SOCKET WINAPI WSASocketW(int af, int type, int protocol,
             if (!af) af = supported_protocols[i].iAddressFamily;
             if (!type) type = supported_protocols[i].iSocketType;
             if (!protocol) protocol = supported_protocols[i].iProtocol;
+            break;
         }
     }
 




More information about the wine-cvs mailing list