From: Yann Ylavic Date: Tue, 23 Jun 2020 10:32:43 +0000 (+0000) Subject: Follow up to r1879111: gcc suggests parentheses around ^ operator, oh well. X-Git-Tag: 2.5.0-alpha2-ci-test-only~1347 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27bbecc3ac80b2a4af8963682b10bd8917cc096e;p=thirdparty%2Fapache%2Fhttpd.git Follow up to r1879111: gcc suggests parentheses around ^ operator, oh well. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1879112 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy.c b/modules/proxy/mod_proxy.c index ca3913e7a50..19628ac0b86 100644 --- a/modules/proxy/mod_proxy.c +++ b/modules/proxy/mod_proxy.c @@ -1022,7 +1022,7 @@ static int proxy_trans(request_rec *r, int pre_trans) /* Do the work from the hook corresponding to the ProxyUseOriginalURI * configuration (off/default: translate hook, on: pre_translate hook). */ - if (pre_trans ^ dconf->use_original_uri == 1) { + if (pre_trans ^ (dconf->use_original_uri == 1)) { return DECLINED; }