* 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

@ -1,3 +1,7 @@
Sat Mar 17 09:51:32 2001 Mathew Brozowski <brozow@tavve.com>
* net.cc (cygwin_socket): Pass protocol parameter to socket call.
Sat Mar 17 02:05:38 2001 Christopher Faylor <cgf@cygnus.com>
* dir.cc (readdir): Use strcasematch for consistency.

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