* net.cc (cygwin_socket): Pass protocol parameter to socket call.
This commit is contained in:
		| @@ -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> | Sat Mar 17 02:05:38 2001  Christopher Faylor <cgf@cygnus.com> | ||||||
|  |  | ||||||
| 	* dir.cc (readdir): Use strcasematch for consistency. | 	* dir.cc (readdir): Use strcasematch for consistency. | ||||||
|   | |||||||
| @@ -352,7 +352,7 @@ cygwin_socket (int af, int type, int protocol) | |||||||
|     { |     { | ||||||
|       debug_printf ("socket (%d, %d, %d)", af, type, 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) |       if (soc == INVALID_SOCKET) | ||||||
| 	{ | 	{ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user