]> granicus.if.org Git - apache/commitdiff
fix apr_getaddrinfo() call
authorChuck Murcko <chuck@apache.org>
Fri, 17 Nov 2000 17:26:32 +0000 (17:26 +0000)
committerChuck Murcko <chuck@apache.org>
Fri, 17 Nov 2000 17:26:32 +0000 (17:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86994 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_util.c

index 74953c22d5aaf56c5acd852f4b09100a6b8a02b7..8c97004b5634a59bbfaf0b21cccbcfc26c7f147d 100644 (file)
@@ -1111,7 +1111,7 @@ apr_status_t ap_proxy_doconnect(apr_socket_t *sock, char *host, apr_uint32_t por
     int i;
     apr_sockaddr_t *destsa;
 
-    rv = apr_getaddrinfo(&destsa, host, AF_INET, port, r->pool);
+    rv = apr_getaddrinfo(&destsa, host, AF_INET, port, 0, r->pool);
     if (rv == APR_SUCCESS) {
         rv = apr_connect(sock, destsa);
     }