* net.cc (cygwin_socket): Pass protocol parameter to socket call.

This commit is contained in:
Corinna Vinschen
2001-03-17 17:04:45 +00:00
parent 3614840015
commit f52488f76b
2 changed files with 5 additions and 1 deletions

View File

@@ -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)
{