curl_fnmatch: replace ISSPACE with ISBLANK

This commit is contained in:
Daniel Stenberg 2025-02-28 23:38:59 +01:00
parent e11efd9310
commit b5ec11b23c
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -319,7 +319,7 @@ static int loop(const unsigned char *pattern, const unsigned char *string,
else if(charset[CURLFNM_PRINT]) else if(charset[CURLFNM_PRINT])
found = ISPRINT(*s); found = ISPRINT(*s);
else if(charset[CURLFNM_SPACE]) else if(charset[CURLFNM_SPACE])
found = ISSPACE(*s); found = ISBLANK(*s);
else if(charset[CURLFNM_UPPER]) else if(charset[CURLFNM_UPPER])
found = ISUPPER(*s); found = ISUPPER(*s);
else if(charset[CURLFNM_LOWER]) else if(charset[CURLFNM_LOWER])