ws2_32: Shortcut socket() to WSASocketW instead of WSASocketA.
This commit is contained in:
parent
a07d4e44d0
commit
d945234c13
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue