mirror of
https://github.com/reactos/reactos.git
synced 2025-05-04 18:31:40 +00:00
[ws2_32_new]
always return "WinSock 2.0" as windows does (verified on windows 8) fix a typo svn path=/trunk/; revision=62222
This commit is contained in:
parent
2f200ee21c
commit
77bc3969c0
2 changed files with 9 additions and 9 deletions
|
@ -44,13 +44,13 @@ DllMain(HANDLE hModule,
|
|||
|
||||
/* TLS Allocation */
|
||||
if (GlobalTlsIndex == TLS_OUT_OF_INDEXES)
|
||||
{
|
||||
GlobalTlsIndex = TlsAlloc();
|
||||
if (GlobalTlsIndex == TLS_OUT_OF_INDEXES)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
{
|
||||
GlobalTlsIndex = TlsAlloc();
|
||||
if (GlobalTlsIndex == TLS_OUT_OF_INDEXES)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
/* Initialize some critical sections */
|
||||
WsCreateStartupSynchronization();
|
||||
|
|
|
@ -165,7 +165,7 @@ WSAStartup(IN WORD wVersionRequested,
|
|||
|
||||
/* We support Winsock 2.2 */
|
||||
lpWSAData->wHighVersion = MAKEWORD(2,2);
|
||||
lstrcpy(lpWSAData->szDescription, "WinSock 2.2");
|
||||
lstrcpy(lpWSAData->szDescription, "WinSock 2.0");
|
||||
lstrcpy(lpWSAData->szSystemStatus, "Running");
|
||||
|
||||
/*
|
||||
|
@ -183,7 +183,7 @@ WSAStartup(IN WORD wVersionRequested,
|
|||
lpWSAData->iMaxUdpDg = 0;
|
||||
}
|
||||
|
||||
/* Enter the startup syncronization lock */
|
||||
/* Enter the startup synchronization lock */
|
||||
WsStartupLock();
|
||||
|
||||
/* Now setup all our objects */
|
||||
|
|
Loading…
Reference in a new issue