diff options
author | Daniel Stenberg <daniel@haxx.se> | 2022-09-17 17:32:21 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-09-17 23:19:29 +0200 |
commit | 307b7543ea1e73ab04e062bdbe4b5bb409eaba3a (patch) | |
tree | fdadf446776bc5182f71165156834cdf6f5bc97e /lib/doh.c | |
parent | db02e0e980fe82262ac2e29a1495bbd3e61010db (diff) | |
download | curl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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! */ |