diff options
author | Jeff Trawick <trawick@apache.org> | 2002-10-18 14:13:38 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2002-10-18 14:13:38 +0000 |
commit | 3d6c6913e2296af656f9c8c1f78947cc362807a9 (patch) | |
tree | ae889cf07a357227fb8ee55385a3fda248d5c386 /network_io/os2 | |
parent | f63776b545dc586703acc8a5b8dbf6addc9955b1 (diff) | |
download | apr-3d6c6913e2296af656f9c8c1f78947cc362807a9.tar.gz |
apr_os_sock_put() shouldn't assume any particular protocol
Submitted by: Randall Stewart <randall@stewart.chicago.il.us>
Reviewed by: Jeff Trawick
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63946 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'network_io/os2')
-rw-r--r-- | network_io/os2/sockets.c | 2 |
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; } |