From: Chuck Murcko Date: Fri, 17 Nov 2000 17:26:32 +0000 (+0000) Subject: fix apr_getaddrinfo() call X-Git-Tag: APACHE_2_0_ALPHA_8~41 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2588d5959864df52b479ceb2dcc4bb4fa7170930;p=apache fix apr_getaddrinfo() call git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86994 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index 74953c22d5..8c97004b56 100644 --- a/modules/proxy/proxy_util.c +++ b/modules/proxy/proxy_util.c @@ -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); }