Author: cwittich
Date: Sun Feb 16 21:20:51 2014
New Revision: 62222
URL:
http://svn.reactos.org/svn/reactos?rev=62222&view=rev
Log:
[ws2_32_new]
always return "WinSock 2.0" as windows does (verified on windows 8)
fix a typo
Modified:
trunk/reactos/dll/win32/ws2_32_new/src/dllmain.c
trunk/reactos/dll/win32/ws2_32_new/src/startup.c
Modified: trunk/reactos/dll/win32/ws2_32_new/src/dllmain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ws2_32_new/src/d…
==============================================================================
--- trunk/reactos/dll/win32/ws2_32_new/src/dllmain.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/ws2_32_new/src/dllmain.c [iso-8859-1] Sun Feb 16 21:20:51
2014
@@ -44,13 +44,13 @@
/* 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();
Modified: trunk/reactos/dll/win32/ws2_32_new/src/startup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ws2_32_new/src/s…
==============================================================================
--- trunk/reactos/dll/win32/ws2_32_new/src/startup.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/ws2_32_new/src/startup.c [iso-8859-1] Sun Feb 16 21:20:51
2014
@@ -165,7 +165,7 @@
/* 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 @@
lpWSAData->iMaxUdpDg = 0;
}
- /* Enter the startup syncronization lock */
+ /* Enter the startup synchronization lock */
WsStartupLock();
/* Now setup all our objects */