From f22e6e9e95815663ee847b212b481b57b97ed460 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 1 Mar 2025 00:03:20 +0100 Subject: [PATCH] curl_ctype.h: somewhat revolutionary but make ISSPACE and ISBLANK the same --- lib/curl_ctype.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/curl_ctype.h b/lib/curl_ctype.h index 48c3c37c35..8eb41727b4 100644 --- a/lib/curl_ctype.h +++ b/lib/curl_ctype.h @@ -43,7 +43,7 @@ #define ISLOWER(x) (((x) >= 'a') && ((x) <= 'z')) #define ISDIGIT(x) (((x) >= '0') && ((x) <= '9')) #define ISBLANK(x) (((x) == ' ') || ((x) == '\t')) -#define ISSPACE(x) (ISBLANK(x) || (((x) >= 0xa) && ((x) <= 0x0d))) +#define ISSPACE(x) ISBLANK(x) #define ISURLPUNTCS(x) (((x) == '-') || ((x) == '.') || ((x) == '_') || \ ((x) == '~')) #define ISUNRESERVED(x) (ISALNUM(x) || ISURLPUNTCS(x))