summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-02-20 15:18:38 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-02-21 08:38:00 +0100
commit0c76795cafe0fccab41b3adc1be08cb81d55024f (patch)
treeec686629077ff076cc3c543f3518bdaf7ad4e50b /src
parent150f45e8d1cce189a5b0b963243a8563d3d14b8e (diff)
downloadcurl-0c76795cafe0fccab41b3adc1be08cb81d55024f.tar.gz
cleanup: comment typos
Spotted by 'codespell' Closes #4957
Diffstat (limited to 'src')
-rw-r--r--src/tool_cb_hdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_cb_hdr.c b/src/tool_cb_hdr.c
index 30d7c99ae..3b1023888 100644
--- a/src/tool_cb_hdr.c
+++ b/src/tool_cb_hdr.c
@@ -109,7 +109,7 @@ size_t tool_header_cb(char *ptr, size_t size, size_t nmemb, void *userdata)
size_t etag_length = 0;
etag_h = ptr;
- /* point to first occurence of double quote */
+ /* point to first occurrence of double quote */
first = memchr(etag_h, '\"', cb);
/*
@@ -127,7 +127,7 @@ size_t tool_header_cb(char *ptr, size_t size, size_t nmemb, void *userdata)
first++;
}
- /* point to last occurence of double quote */
+ /* point to last occurrence of double quote */
last = memchr(first, '\"', cb);
if(!last) {