From 7e1bea28d2941e5107da36f9c8551f925342db66 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 28 Feb 2025 23:29:58 +0100 Subject: [PATCH] fixup change two more ISSPACE to ISBLANK --- lib/headers.c | 2 +- lib/http_aws_sigv4.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/headers.c b/lib/headers.c index b3904cae56..380e3a2c99 100644 --- a/lib/headers.c +++ b/lib/headers.c @@ -215,7 +215,7 @@ static CURLcode namevalue(char *header, size_t hlen, unsigned int type, *value = header; /* skip all trailing space letters */ - while((end > header) && ISSPACE(*end)) + while((end > header) && ISBLANK(*end)) *end-- = 0; /* nul terminate */ return CURLE_OK; } diff --git a/lib/http_aws_sigv4.c b/lib/http_aws_sigv4.c index 169b68416c..345ac0910f 100644 --- a/lib/http_aws_sigv4.c +++ b/lib/http_aws_sigv4.c @@ -233,7 +233,7 @@ static CURLcode make_headers(struct Curl_easy *data, sep = strchr(l->data, ';'); if(!sep || (*sep == ':' && !*(sep + 1))) continue; - for(ptr = sep + 1; ISSPACE(*ptr); ++ptr) + for(ptr = sep + 1; ISBLANK(*ptr); ++ptr) ; if(!*ptr && ptr != sep + 1) /* a value of whitespace only */ continue;