tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hgo...@apache.org
Subject svn commit: r552842 - /tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c
Date Tue, 03 Jul 2007 13:46:42 GMT
Author: hgomez
Date: Tue Jul  3 06:46:41 2007
New Revision: 552842

URL: http://svn.apache.org/viewvc?view=rev&rev=552842
Log:
Fix problem with double toupper evaluation on i5/OS V5R4 in LOCALEUTF8 mode

Modified:
    tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c

Modified: tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c?view=diff&rev=552842&r1=552841&r2=552842
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c Tue Jul  3 06:46:41 2007
@@ -252,8 +252,11 @@
     if (len < 4 || len > 15)
         return UNKNOWN_METHOD;
 
-    while (*p)
-        header[i++] = toupper((unsigned char)*p++);
+    while (*p) {
+        header[i++] = toupper((unsigned char)*p);
+        p++;
+    }
+
     header[i] = '\0';
     p = &header[1];
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message