summaryrefslogtreecommitdiff
path: root/network_io/os2/sockets.c
diff options
context:
space:
mode:
Diffstat (limited to 'network_io/os2/sockets.c')
-rw-r--r--network_io/os2/sockets.c2
1 files changed, 1 insertions, 1 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;
}