Module: wine Branch: master Commit: d945234c13ef2860606ea9fb611a97cfb1eb9152 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d945234c13ef2860606ea9fb61...
Author: Bruno Jesus 00cpxxx@gmail.com Date: Mon Apr 6 20:56:29 2015 -0300
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 21946a1..7494b5f 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 ); }