You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2020/06/23 10:32:43 UTC

svn commit: r1879112 - /httpd/httpd/trunk/modules/proxy/mod_proxy.c

Author: ylavic
Date: Tue Jun 23 10:32:43 2020
New Revision: 1879112

URL: http://svn.apache.org/viewvc?rev=1879112&view=rev
Log:
Follow up to r1879111: gcc suggests parentheses around ^ operator, oh well.

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy.c?rev=1879112&r1=1879111&r2=1879112&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy.c Tue Jun 23 10:32:43 2020
@@ -1022,7 +1022,7 @@ static int proxy_trans(request_rec *r, i
     /* 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;
     }