Re: ws2_32: make gethostbyname fail if WSAStartup was not called before
21 Feb
2011
21 Feb
'11
4:16 p.m.
Alexandre Goujon <ale.goujon(a)gmail.com> writes:
@@ -1104,6 +1106,7 @@ int WINAPI WSAStartup(WORD wVersionRequested, LPWSADATA lpWSAData) /* don't do anything with lpWSAData->lpVendorInfo */ /* (some apps don't allocate the space for this field) */
+ WSAStartup_called = TRUE; TRACE("succeeded\n"); return 0;
There's already a counter for tracking WSAStartup calls. -- Alexandre Julliard julliard(a)winehq.org
5407
Age (days ago)
5407
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard