summaryrefslogtreecommitdiff
path: root/lib/hsts.c
diff options
context:
space:
mode:
authorFabian Keil <fk@fabiankeil.de>2021-01-07 21:11:17 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-11 15:12:25 +0100
commit4f61fd87b263a9ded6b658f299c83dded6baa08e (patch)
tree97dd95fc71403cf66243e4ef11eb2fa2b5853816 /lib/hsts.c
parent06f1db57cac8ade2602fba61909c8d54b57fa10b (diff)
downloadcurl-4f61fd87b263a9ded6b658f299c83dded6baa08e.tar.gz
misc: fix typos
Bug: https://curl.se/mail/lib-2021-01/0063.html Closes #6434
Diffstat (limited to 'lib/hsts.c')
-rw-r--r--lib/hsts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hsts.c b/lib/hsts.c
index 6f771284f..336dffa1b 100644
--- a/lib/hsts.c
+++ b/lib/hsts.c
@@ -325,7 +325,7 @@ CURLcode Curl_hsts_save(struct Curl_easy *data, struct hsts *h,
/* no cache activated */
return CURLE_OK;
- /* if not new name is given, use the one we stored from the load */
+ /* if no new name is given, use the one we stored from the load */
if(!file && h->filename)
file = h->filename;
@@ -457,7 +457,7 @@ static CURLcode hsts_pull(struct Curl_easy *data, struct hsts *h)
* format is documented here:
* https://github.com/curl/curl/wiki/HSTS
*
- * This function only returns error on major problems that prevents hsts
+ * This function only returns error on major problems that prevent hsts
* handling to work completely. It will ignore individual syntactical errors
* etc.
*/