From b14c227e81e60d9d87b6a56074d47f8b92727db8 Mon Sep 17 00:00:00 2001 From: dartraiden Date: Wed, 4 Jun 2025 10:22:08 +0300 Subject: libcurl: update to 8.14.1 --- libs/libcurl/src/hsts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/libcurl/src/hsts.c') diff --git a/libs/libcurl/src/hsts.c b/libs/libcurl/src/hsts.c index 5aea001792..3ee266a50f 100644 --- a/libs/libcurl/src/hsts.c +++ b/libs/libcurl/src/hsts.c @@ -279,7 +279,7 @@ struct stsentry *Curl_hsts(struct hsts *h, const char *hostname, blen = ntail; } } - /* avoid strcasecompare because the host name is not null terminated */ + /* avoid strcasecompare because the host name is not null-terminated */ if((hlen == ntail) && strncasecompare(hostname, sts->host, hlen)) return sts; } @@ -430,7 +430,7 @@ static CURLcode hsts_add(struct hsts *h, const char *line) time_t expires; const char *hp = curlx_str(&host); - /* The date parser works on a null terminated string. The maximum length + /* The date parser works on a null-terminated string. The maximum length is upheld by curlx_str_quotedword(). */ memcpy(dbuf, curlx_str(&date), curlx_strlen(&date)); dbuf[curlx_strlen(&date)] = 0; -- cgit v1.2.3