From: Ruediger Pluem Date: Wed, 7 May 2008 19:24:54 +0000 (+0000) Subject: * Make code more readable by using OR (which is also Roys preference over AND) X-Git-Tag: 2.3.0~665 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ba737d292d6e7f6e0003d792f9336cc0c7b6408;p=thirdparty%2Fapache%2Fhttpd.git * Make code more readable by using OR (which is also Roys preference over AND) instead of XOR. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@654223 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/mod_request.c b/modules/filters/mod_request.c index 8c2869b618e..32a9d9ef782 100644 --- a/modules/filters/mod_request.c +++ b/modules/filters/mod_request.c @@ -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) {