summaryrefslogtreecommitdiff
path: root/lib/doh.c
diff options
context:
space:
mode:
authorPedro Monreal <pmgdeb@gmail.co>2020-02-02 09:49:28 +0100
committerDaniel Gustafsson <daniel@yesql.se>2020-02-02 18:43:01 +0100
commit4b6fd29f1a0e5e71b1863b843324a7bdc800ef0a (patch)
tree866d9eb632d67a014bad0e8bbb48208b3f8a7568 /lib/doh.c
parent6ef123522a28ca872f12fe482ee7c714079c61b2 (diff)
downloadcurl-4b6fd29f1a0e5e71b1863b843324a7bdc800ef0a.tar.gz
cleanup: fix typos and wording in docs and comments
Closes #4869 Reviewed-by: Emil Engler and Daniel Gustafsson
Diffstat (limited to 'lib/doh.c')
-rw-r--r--lib/doh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/doh.c b/lib/doh.c
index 7f4eee5d8..aaa8f15ca 100644
--- a/lib/doh.c
+++ b/lib/doh.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 2018 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2018 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -548,7 +548,7 @@ static DOHcode store_cname(unsigned char *doh,
if((index + 1) >= dohlen)
return DOH_DNS_OUT_OF_RANGE;
- /* move to the the new index */
+ /* move to the new index */
newpos = (length & 0x3f) << 8 | doh[index + 1];
index = newpos;
continue;