diff options
author | dartraiden <wowemuh@gmail.com> | 2025-06-04 10:22:08 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2025-06-04 10:27:15 +0300 |
commit | b14c227e81e60d9d87b6a56074d47f8b92727db8 (patch) | |
tree | 55d8efd8f7d593a520c01c918fdfd0f81e8605ca /libs/libcurl/src/hsts.c | |
parent | 114ca3aa13683f413d2297e675741f54b87dd151 (diff) |
libcurl: update to 8.14.1
Diffstat (limited to 'libs/libcurl/src/hsts.c')
-rw-r--r-- | libs/libcurl/src/hsts.c | 4 |
1 files changed, 2 insertions, 2 deletions
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;
|