diff options
Diffstat (limited to 'win32/win32.c')
-rw-r--r-- | win32/win32.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c index 50fd55d076..ae692ce9f0 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -2642,6 +2642,8 @@ open_ifs_socket(int af, int type, int protocol) WSA_FLAG_OVERLAPPED); break; } + if (out == INVALID_SOCKET) + out = WSASocket(af, type, protocol, NULL, 0, 0); } free(proto_buffers); |