diff options
Diffstat (limited to 'libs/libcurl/src/curl_range.c')
-rw-r--r-- | libs/libcurl/src/curl_range.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/libcurl/src/curl_range.c b/libs/libcurl/src/curl_range.c index 9e03c3d4a6..dd92d05b39 100644 --- a/libs/libcurl/src/curl_range.c +++ b/libs/libcurl/src/curl_range.c @@ -47,7 +47,7 @@ CURLcode Curl_range(struct Curl_easy *data) from_t = curlx_strtoofft(data->state.range, &ptr, 0, &from); if(from_t == CURL_OFFT_FLOW) return CURLE_RANGE_ERROR; - while(*ptr && (ISSPACE(*ptr) || (*ptr == '-'))) + while(*ptr && (ISBLANK(*ptr) || (*ptr == '-'))) ptr++; to_t = curlx_strtoofft(ptr, &ptr2, 0, &to); if(to_t == CURL_OFFT_FLOW) |