httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1070627 - /httpd/httpd/trunk/modules/cache/cache_util.c
Date Mon, 14 Feb 2011 19:47:32 GMT
Author: trawick
Date: Mon Feb 14 19:47:31 2011
New Revision: 1070627

URL: http://svn.apache.org/viewvc?rev=1070627&view=rev
Log:
fix theoretical const issue in call to strchr()

Modified:
    httpd/httpd/trunk/modules/cache/cache_util.c

Modified: httpd/httpd/trunk/modules/cache/cache_util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/cache_util.c?rev=1070627&r1=1070626&r2=1070627&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/cache_util.c (original)
+++ httpd/httpd/trunk/modules/cache/cache_util.c Mon Feb 14 19:47:31 2011
@@ -1037,7 +1037,7 @@ static char *cache_strqtok(char *str, co
     }
 
     /* skip characters in sep (will terminate at '\0') */
-    while (*str && strchr(sep, *str)) {
+    while (*str && ap_strchr_c(sep, *str)) {
         ++str;
     }
 
@@ -1059,7 +1059,7 @@ static char *cache_strqtok(char *str, co
                 quoted = 1;
                 ++*last;
             }
-            else if (!strchr(sep, **last)) {
+            else if (!ap_strchr_c(sep, **last)) {
                 ++*last;
             }
             else {



Mime
View raw message