Commit d945234c authored by Bruno Jesus's avatar Bruno Jesus Committed by Alexandre Julliard

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

parent a07d4e44
......@@ -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 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment