diff --git a/lib/curl_fnmatch.c b/lib/curl_fnmatch.c index ffac8048f6..58e3f776b9 100644 --- a/lib/curl_fnmatch.c +++ b/lib/curl_fnmatch.c @@ -319,7 +319,7 @@ static int loop(const unsigned char *pattern, const unsigned char *string, else if(charset[CURLFNM_PRINT]) found = ISPRINT(*s); else if(charset[CURLFNM_SPACE]) - found = ISSPACE(*s); + found = ISBLANK(*s); else if(charset[CURLFNM_UPPER]) found = ISUPPER(*s); else if(charset[CURLFNM_LOWER])