summaryrefslogtreecommitdiff
path: root/lib/doh.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2022-09-17 17:32:21 +0200
committerDaniel Stenberg <daniel@haxx.se>2022-09-17 23:19:29 +0200
commit307b7543ea1e73ab04e062bdbe4b5bb409eaba3a (patch)
treefdadf446776bc5182f71165156834cdf6f5bc97e /lib/doh.c
parentdb02e0e980fe82262ac2e29a1495bbd3e61010db (diff)
downloadcurl-307b7543ea1e73ab04e062bdbe4b5bb409eaba3a.tar.gz
misc: null-terminate
Make use of this term consistently. Closes #9527
Diffstat (limited to 'lib/doh.c')
-rw-r--r--lib/doh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/doh.c b/lib/doh.c
index a86e157fc..087258d93 100644
--- a/lib/doh.c
+++ b/lib/doh.c
@@ -792,7 +792,7 @@ doh2ai(const struct dohentry *de, const char *hostname, int port)
#endif
CURLcode result = CURLE_OK;
int i;
- size_t hostlen = strlen(hostname) + 1; /* include zero terminator */
+ size_t hostlen = strlen(hostname) + 1; /* include null-terminator */
if(!de)
/* no input == no output! */