summaryrefslogtreecommitdiff
path: root/lib/strtoofft.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/strtoofft.c')
-rw-r--r--lib/strtoofft.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/strtoofft.c b/lib/strtoofft.c
index 30908fdd9..83dea5c4b 100644
--- a/lib/strtoofft.c
+++ b/lib/strtoofft.c
@@ -87,7 +87,7 @@ static curl_off_t strtooff(const char *nptr, char **endptr, int base)
/* Skip leading whitespace. */
end = (char *)nptr;
- while(ISSPACE(end[0])) {
+ while(ISBLANK(end[0])) {
end++;
}
@@ -222,7 +222,7 @@ CURLofft curlx_strtoofft(const char *str, char **endp, int base,
errno = 0;
*num = 0; /* clear by default */
- while(*str && ISSPACE(*str))
+ while(*str && ISBLANK(*str))
str++;
if('-' == *str) {
if(endp)