Fakes a negotiation of the winsock version.

This commit is contained in:
Gerard Patel 2000-07-10 10:57:46 +00:00 committed by Alexandre Julliard
parent e3b8640c77
commit 0b42d3ce5b
1 changed files with 3 additions and 0 deletions

View File

@ -659,6 +659,9 @@ INT WINAPI WSAStartup(UINT wVersionRequested, LPWSADATA lpWSAData)
/* return winsock information */
memcpy(lpWSAData, &WINSOCK_data, sizeof(WINSOCK_data));
/* that's the whole of the negotiation for now */
lpWSAData->wVersion = wVersionRequested;
TRACE("succeeded\n");
return 0;
}