diff options
Diffstat (limited to 'winsup/cygwin/autoload.cc')
-rw-r--r-- | winsup/cygwin/autoload.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index 1cd0e7e..bcbaac3 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -268,9 +268,9 @@ wsock_init () int (*wsastartup) (int, WSADATA *); wsastartup = (int (*)(int, WSADATA *)) - GetProcAddress ((HMODULE) (dll->handle), "WSAStartup"); + GetProcAddress ((HMODULE) (dll->handle), "WSAStartup"); if (wsastartup) - { + { int res = wsastartup ((2<<8) | 2, &wsadata); debug_printf ("res %d", res); @@ -283,7 +283,7 @@ wsock_init () debug_printf ("lpVendorInfo %d", wsadata.lpVendorInfo); wsock_started = 1; - } + } } InterlockedDecrement (&here); |