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

ws2_32: Improve WSAStartup/WSACleanup tracing.

parent ec3a9a54
...@@ -1238,7 +1238,7 @@ int WINAPI WSAStartup(WORD wVersionRequested, LPWSADATA lpWSAData) ...@@ -1238,7 +1238,7 @@ int WINAPI WSAStartup(WORD wVersionRequested, LPWSADATA lpWSAData)
/* don't do anything with lpWSAData->lpVendorInfo */ /* don't do anything with lpWSAData->lpVendorInfo */
/* (some apps don't allocate the space for this field) */ /* (some apps don't allocate the space for this field) */
TRACE("succeeded\n"); TRACE("succeeded starts: %d\n", num_startup);
return 0; return 0;
} }
...@@ -1250,6 +1250,7 @@ INT WINAPI WSACleanup(void) ...@@ -1250,6 +1250,7 @@ INT WINAPI WSACleanup(void)
{ {
if (num_startup) { if (num_startup) {
num_startup--; num_startup--;
TRACE("pending cleanups: %d\n", num_startup);
return 0; return 0;
} }
SetLastError(WSANOTINITIALISED); SetLastError(WSANOTINITIALISED);
......
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