Loading src/main.c +3 −3 Original line number Diff line number Diff line Loading @@ -1010,8 +1010,8 @@ static int str2offset(curl_off_t *val, char *str) #ifdef HAVE_STRTOLL *val = strtoll(str, NULL, 0); #else /* TODO: Handle strtoll stuff...sigh... */ #error "lack of strtoll() needs fixing" /* this is a duplicate of the function that is also used in libcurl */ *val = Curl_strtoll(str, NULL, 0; #endif if ((*val == LLONG_MAX || *val == LLONG_MIN) && errno == ERANGE) Loading Loading @@ -2068,7 +2068,7 @@ static int parseconfig(const char *filename, #endif /* pass spaces and separator(s) */ while(isspace((int)*line) || isseparator(*line)) while(*line && (isspace((int)*line) || isseparator(*line))) line++; /* the parameter starts here (unless quoted) */ Loading Loading
src/main.c +3 −3 Original line number Diff line number Diff line Loading @@ -1010,8 +1010,8 @@ static int str2offset(curl_off_t *val, char *str) #ifdef HAVE_STRTOLL *val = strtoll(str, NULL, 0); #else /* TODO: Handle strtoll stuff...sigh... */ #error "lack of strtoll() needs fixing" /* this is a duplicate of the function that is also used in libcurl */ *val = Curl_strtoll(str, NULL, 0; #endif if ((*val == LLONG_MAX || *val == LLONG_MIN) && errno == ERANGE) Loading Loading @@ -2068,7 +2068,7 @@ static int parseconfig(const char *filename, #endif /* pass spaces and separator(s) */ while(isspace((int)*line) || isseparator(*line)) while(*line && (isspace((int)*line) || isseparator(*line))) line++; /* the parameter starts here (unless quoted) */ Loading