]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Follow up to r1879111: gcc suggests parentheses around ^ operator, oh well.
authorYann Ylavic <ylavic@apache.org>
Tue, 23 Jun 2020 10:32:43 +0000 (10:32 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 23 Jun 2020 10:32:43 +0000 (10:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1879112 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy.c

index ca3913e7a50601be8005b25f4f3ae8d4cafe9ff0..19628ac0b86635ce271d7d936f38b88620c341be 100644 (file)
@@ -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;
     }