mirror of
https://github.com/curl/curl.git
synced 2026-07-16 02:57:18 +03:00
chkspeed: bad strtol() call for -M option
Bug: http://curl.haxx.se/mail/lib-2010-12/0192.html
This commit is contained in:
parent
f6ebae65d6
commit
8f50a404f9
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ int main(int argc, char *argv[])
|
|||
} else if (strncasecmp(*argv, "-T", 2) == 0) {
|
||||
prttime = 1;
|
||||
} else if (strncasecmp(*argv, "-M=", 3) == 0) {
|
||||
long m = strtol(argv+3, NULL, 10);
|
||||
long m = strtol((*argv)+3, NULL, 10);
|
||||
switch(m) {
|
||||
case 1: url = URL_1M;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue