]> granicus.if.org Git - apache/commitdiff
Don't skip the first character, as it may be a quote, which is handled
authorGraham Leggett <minfrin@apache.org>
Mon, 14 Feb 2011 23:54:14 +0000 (23:54 +0000)
committerGraham Leggett <minfrin@apache.org>
Mon, 14 Feb 2011 23:54:14 +0000 (23:54 +0000)
by the walk below.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1070699 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/cache_util.c

index 97e55305f5575981399526fe921342add6252e87..7c36617f4eaefcd1e21397938e3191816379e7a1 100644 (file)
@@ -1052,7 +1052,7 @@ static char *cache_strqtok(char *str, const char *sep, char **last)
      * on the way, ignore all quoted strings, and within
      * quoted strings, escaped characters.
      */
-    *last = token + 1;
+    *last = token;
     while (**last) {
         if (!quoted) {
             if (**last == '\"') {