From: Mladen Turk Date: Mon, 13 Sep 2004 11:36:24 +0000 (+0000) Subject: Fix typo -- uri is constructed when there is no proxy in chain. X-Git-Tag: 2.1.1~273 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a234c6ec66821419c91da433e9584d22f4d2f05;p=apache Fix typo -- uri is constructed when there is no proxy in chain. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105110 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index eddc08384c..cb3d4b1a15 100644 --- a/modules/proxy/proxy_util.c +++ b/modules/proxy/proxy_util.c @@ -1568,7 +1568,7 @@ ap_proxy_determine_connection(apr_pool_t *p, request_rec *r, * short living pool. */ /* are we connecting directly, or via a proxy? */ - if (proxyname) { + if (!proxyname) { *url = apr_pstrcat(p, uri->path, uri->query ? "?" : "", uri->query ? uri->query : "", uri->fragment ? "#" : "",