glob_range: pass the closing bracket for a-z ranges

Regression since commit 5ca96cb844 (release in 7.33.0)

Reported-by: Marcin Gryszkalis
This commit is contained in:
Daniel Stenberg 2013-11-03 10:08:10 +01:00
parent 9a1755264f
commit bce03fe144
1 changed files with 1 additions and 1 deletions

View File

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