mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
Gisle has eyes, I don't
This commit is contained in:
parent
958987c214
commit
9bca9681ba
@ -1009,7 +1009,7 @@ static int str2offset(curl_off_t *val, char *str)
|
|||||||
*val = strtoll(str, NULL, 0);
|
*val = strtoll(str, NULL, 0);
|
||||||
#else
|
#else
|
||||||
/* this is a duplicate of the function that is also used in libcurl */
|
/* this is a duplicate of the function that is also used in libcurl */
|
||||||
*val = Curl_strtoll(str, NULL, 0;
|
*val = Curl_strtoll(str, NULL, 0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if ((*val == LLONG_MAX || *val == LLONG_MIN) && errno == ERANGE)
|
if ((*val == LLONG_MAX || *val == LLONG_MIN) && errno == ERANGE)
|
||||||
|
Loading…
Reference in New Issue
Block a user