diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c index aaf519ead..36fc298d7 100644 --- a/src/main.c +++ b/src/main.c @@ -1035,7 +1035,7 @@ static int str2offset(curl_off_t *val, char *str) #endif /* this is a duplicate of the function that is also used in libcurl */ - *val = strtoofft(str, NULL, 0); + *val = curlx_strtoofft(str, NULL, 0); if ((*val == LLONG_MAX || *val == LLONG_MIN) && errno == ERANGE) return 1; @@ -1319,7 +1319,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */ { /* We support G, M, K too */ char *unit; - curl_off_t value = strtoofft(nextarg, &unit, 0); + curl_off_t value = curlx_strtoofft(nextarg, &unit, 0); switch(nextarg[strlen(nextarg)-1]) { case 'G': case 'g': |