glob_range: pass the closing bracket for a-z ranges
authorDaniel Stenberg <daniel@haxx.se>
Sun, 3 Nov 2013 09:08:10 +0000 (10:08 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 3 Nov 2013 09:08:10 +0000 (10:08 +0100)
Regression since commit 5ca96cb844102 (release in 7.33.0)

Reported-by: Marcin Gryszkalis
src/tool_urlglob.c

index 4208327..aa87e5a 100644 (file)
@@ -215,7 +215,7 @@ static GlobCode glob_range(URLGlob *glob, char **patternp,
       }
     }
     else
-      pattern+=3;
+      pattern += 4;
 
     *posp += (pattern - *patternp);