diff --git a/src/osdep/win32/overrides.c b/src/osdep/win32/overrides.c index 6a94fee3..5d486443 100644 --- a/src/osdep/win32/overrides.c +++ b/src/osdep/win32/overrides.c @@ -371,12 +371,10 @@ win32_ioctl(int fd, long option, int *flag) int win32_socket(int pf, int type, int protocol) { - // SOCKET s = socket(pf, type, protocol); - int s; int rc; - s = socket(PF_INET, SOCK_STREAM, 0); + s = socket(pf, type, protocol); if (s == INVALID_SOCKET) { rc = -1;