From 063415fc4ac7f652b1b79e33fabb41918598241f Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Mon, 14 Feb 2011 19:47:31 +0000 Subject: [PATCH] fix theoretical const issue in call to strchr() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1070627 13f79535-47bb-0310-9956-ffa450edef68 --- modules/cache/cache_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/cache/cache_util.c b/modules/cache/cache_util.c index 7a85d249e3..97e55305f5 100644 --- a/modules/cache/cache_util.c +++ b/modules/cache/cache_util.c @@ -1037,7 +1037,7 @@ static char *cache_strqtok(char *str, const char *sep, char **last) } /* 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, const char *sep, char **last) quoted = 1; ++*last; } - else if (!strchr(sep, **last)) { + else if (!ap_strchr_c(sep, **last)) { ++*last; } else { -- 2.40.0