From d945234c13ef2860606ea9fb611a97cfb1eb9152 Mon Sep 17 00:00:00 2001 From: Bruno Jesus <00cpxxx@gmail.com> Date: Mon, 6 Apr 2015 20:56:29 -0300 Subject: [PATCH] ws2_32: Shortcut socket() to WSASocketW instead of WSASocketA. --- 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 21946a1a525..7494b5f2ef8 100644 --- a/dlls/ws2_32/socket.c +++ b/dlls/ws2_32/socket.c @@ -5436,7 +5436,7 @@ SOCKET WINAPI WS_socket(int af, int type, int protocol) { TRACE("af=%d type=%d protocol=%d\n", af, type, protocol); - return WSASocketA( af, type, protocol, NULL, 0, + return WSASocketW( af, type, protocol, NULL, 0, get_per_thread_data()->opentype ? 0 : WSA_FLAG_OVERLAPPED ); } -- 2.11.4.GIT