Skip to content
Snippets Groups Projects
Commit 64e3a091 authored by Yang Tse's avatar Yang Tse
Browse files

Split comparison among several lines for debugging

parent a2c50a98
No related branches found
No related tags found
No related merge requests found
......@@ -1399,7 +1399,9 @@ static int str2offset(curl_off_t *val, const char *str)
/* this is a duplicate of the function that is also used in libcurl */
*val = curlx_strtoofft(str, NULL, 0);
if ((*val == LLONG_MAX || *val == LLONG_MIN) && ERRNO == ERANGE)
if( ( (*val == LLONG_MAX) ||
(*val == LLONG_MIN) ) &&
(ERRNO == ERANGE) )
return 1;
#else
*val = strtol(str, NULL, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment