diff options
Diffstat (limited to 'winsup/cygwin/net.cc')
-rw-r--r-- | winsup/cygwin/net.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc index 837f3b9ff..ee95f7ac5 100644 --- a/winsup/cygwin/net.cc +++ b/winsup/cygwin/net.cc @@ -352,7 +352,7 @@ cygwin_socket (int af, int type, int protocol) { debug_printf ("socket (%d, %d, %d)", af, type, protocol); - soc = socket (AF_INET, type, 0); + soc = socket (AF_INET, type, protocol); if (soc == INVALID_SOCKET) { |