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 4208327de69f4f1d7d209f602c35d5cfda3ec9b4..aa87e5a37ae06ebad42618afba40ef1f747b5845 100644 (file)
@@ -215,7 +215,7 @@ static GlobCode glob_range(URLGlob *glob, char **patternp,
       }
     }
     else
-      pattern+=3;
+      pattern += 4;
 
     *posp += (pattern - *patternp);