diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/examples/chkspeed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/chkspeed.c b/docs/examples/chkspeed.c index 00db5bf1d..4305bde8d 100644 --- a/docs/examples/chkspeed.c +++ b/docs/examples/chkspeed.c @@ -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; |