]> granicus.if.org Git - apache/commitdiff
* Make code more readable by using OR (which is also Roys preference over AND)
authorRuediger Pluem <rpluem@apache.org>
Wed, 7 May 2008 19:24:54 +0000 (19:24 +0000)
committerRuediger Pluem <rpluem@apache.org>
Wed, 7 May 2008 19:24:54 +0000 (19:24 +0000)
  instead of XOR.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@654223 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/mod_request.c

index 8c2869b618ec9708b881fb1be1fed4e5b6d34c98..32a9d9ef7825067e7f23eba3e40d834890c2894b 100644 (file)
@@ -411,7 +411,7 @@ AP_DECLARE(int) ap_parse_request_form(request_rec * r, apr_array_header_t ** ptr
                     else if (c >= '0') {
                         low = c - '0';
                     }
-                    c = low ^ hi;
+                    c = low | hi;
                     percent = FORM_NORMAL;
                 }
                 switch (state) {