Commit 6113c9b9 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

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
parent dfbfa570
Loading
Loading
Loading
Loading
+2 −2
Changes for modules/cache/cache_util.c: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -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 {