From 27bbecc3ac80b2a4af8963682b10bd8917cc096e Mon Sep 17 00:00:00 2001 From: Yann Ylavic Date: Tue, 23 Jun 2020 10:32:43 +0000 Subject: [PATCH] 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 --- modules/proxy/mod_proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.47.3