summaryrefslogtreecommitdiff
path: root/network_io/os2
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2002-10-18 15:08:09 +0000
committerJeff Trawick <trawick@apache.org>2002-10-18 15:08:09 +0000
commitb8d78a79193de83ce85cd7c8b3968b895eda6ff6 (patch)
treee59501b793e9f693b3bff1096f287aa89cbdeb6c /network_io/os2
parentced72f55cbb62ca080d20c120c20e14d7f6f2d90 (diff)
downloadapr-b8d78a79193de83ce85cd7c8b3968b895eda6ff6.tar.gz
fix compile break in OS/2 and Win32 apr_os_sock_make()
Reported by: Brent R. Matzelle <bmatzelle@yahoo.com> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63948 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'network_io/os2')
-rw-r--r--network_io/os2/sockets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/network_io/os2/sockets.c b/network_io/os2/sockets.c
index 9efc13535..7148cee83 100644
--- a/network_io/os2/sockets.c
+++ b/network_io/os2/sockets.c
@@ -260,9 +260,9 @@ APR_DECLARE(apr_status_t) apr_os_sock_make(apr_socket_t **apr_sock,
{
alloc_socket(apr_sock, cont);
#ifdef APR_ENABLE_FOR_1_0 /* no protocol field yet */
- set_socket_vars(*apr_sock, os_sock_info->family, os_sock_info->type, 0);
-#else
set_socket_vars(*apr_sock, os_sock_info->family, os_sock_info->type, os_sock_info->protocol);
+#else
+ set_socket_vars(*apr_sock, os_sock_info->family, os_sock_info->type, 0);
#endif
(*apr_sock)->timeout = -1;
(*apr_sock)->socketdes = *os_sock_info->os_sock;