aboutsummaryrefslogtreecommitdiff
path: root/src/tool_urlglob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool_urlglob.c')
-rw-r--r--src/tool_urlglob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_urlglob.c b/src/tool_urlglob.c
index 912166708..0f889eb34 100644
--- a/src/tool_urlglob.c
+++ b/src/tool_urlglob.c
@@ -196,7 +196,7 @@ static CURLcode glob_range(URLGlob *glob, char **patternp,
char *endp;
unsigned long lstep;
errno = 0;
- lstep = strtoul(&pattern[3], &endp, 10);
+ lstep = strtoul(&pattern[4], &endp, 10);
if(errno || (*endp != ']'))
step = -1;
else {