httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r654223 - /httpd/httpd/trunk/modules/filters/mod_request.c
Date Wed, 07 May 2008 19:24:55 GMT
Author: rpluem
Date: Wed May  7 12:24:54 2008
New Revision: 654223

URL: http://svn.apache.org/viewvc?rev=654223&view=rev
Log:
* Make code more readable by using OR (which is also Roys preference over AND)
  instead of XOR.

Modified:
    httpd/httpd/trunk/modules/filters/mod_request.c

Modified: httpd/httpd/trunk/modules/filters/mod_request.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_request.c?rev=654223&r1=654222&r2=654223&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_request.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_request.c Wed May  7 12:24:54 2008
@@ -411,7 +411,7 @@
                     else if (c >= '0') {
                         low = c - '0';
                     }
-                    c = low ^ hi;
+                    c = low | hi;
                     percent = FORM_NORMAL;
                 }
                 switch (state) {



Mime
View raw message