ws2_32: Shortcut socket() to WSASocketW instead of WSASocketA.

This commit is contained in:
Bruno Jesus 2015-04-06 20:56:29 -03:00 committed by Alexandre Julliard
parent a07d4e44d0
commit d945234c13
1 changed files with 1 additions and 1 deletions

View File

@ -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); 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 ); get_per_thread_data()->opentype ? 0 : WSA_FLAG_OVERLAPPED );
} }