diff options
-rw-r--r-- | network_io/os2/sockets.c | 2 | ||||
-rw-r--r-- | network_io/unix/sockets.c | 2 | ||||
-rw-r--r-- | network_io/win32/sockets.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/network_io/os2/sockets.c b/network_io/os2/sockets.c index 3f72bd590..9efc13535 100644 --- a/network_io/os2/sockets.c +++ b/network_io/os2/sockets.c @@ -297,7 +297,7 @@ APR_DECLARE(apr_status_t) apr_os_sock_put(apr_socket_t **sock, apr_os_sock_t *th } if ((*sock) == NULL) { alloc_socket(sock, cont); - set_socket_vars(*sock, AF_INET, SOCK_STREAM, APR_PROTO_TCP); + set_socket_vars(*sock, AF_INET, SOCK_STREAM, 0); (*sock)->timeout = -1; } diff --git a/network_io/unix/sockets.c b/network_io/unix/sockets.c index 7fe93a2d3..309230192 100644 --- a/network_io/unix/sockets.c +++ b/network_io/unix/sockets.c @@ -377,7 +377,7 @@ apr_status_t apr_os_sock_put(apr_socket_t **sock, apr_os_sock_t *thesock, /* XXX IPv6 figure out the family here! */ /* XXX figure out the actual socket type here */ /* *or* just decide that apr_os_sock_put() has to be told the family and type */ - set_socket_vars(*sock, APR_INET, SOCK_STREAM, APR_PROTO_TCP); + set_socket_vars(*sock, APR_INET, SOCK_STREAM, 0); (*sock)->timeout = -1; } (*sock)->local_port_unknown = (*sock)->local_interface_unknown = 1; diff --git a/network_io/win32/sockets.c b/network_io/win32/sockets.c index 6da7c3a93..e1dabdc07 100644 --- a/network_io/win32/sockets.c +++ b/network_io/win32/sockets.c @@ -466,7 +466,7 @@ APR_DECLARE(apr_status_t) apr_os_sock_put(apr_socket_t **sock, alloc_socket(sock, cont); /* XXX figure out the actual socket type here */ /* *or* just decide that apr_os_sock_put() has to be told the family and type */ - set_socket_vars(*sock, AF_INET, SOCK_STREAM, APR_PROTO_TCP); + set_socket_vars(*sock, AF_INET, SOCK_STREAM, 0); (*sock)->timeout = -1; (*sock)->disconnected = 0; } |