diff options
author | Fabian Keil <fk@fabiankeil.de> | 2021-01-07 21:11:17 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-01-11 15:12:25 +0100 |
commit | 4f61fd87b263a9ded6b658f299c83dded6baa08e (patch) | |
tree | 97dd95fc71403cf66243e4ef11eb2fa2b5853816 /lib/curl_addrinfo.c | |
parent | 06f1db57cac8ade2602fba61909c8d54b57fa10b (diff) | |
download | curl-4f61fd87b263a9ded6b658f299c83dded6baa08e.tar.gz |
misc: fix typos
Bug: https://curl.se/mail/lib-2021-01/0063.html
Closes #6434
Diffstat (limited to 'lib/curl_addrinfo.c')
-rw-r--r-- | lib/curl_addrinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/curl_addrinfo.c b/lib/curl_addrinfo.c index 872395b05..0cd48fb5c 100644 --- a/lib/curl_addrinfo.c +++ b/lib/curl_addrinfo.c @@ -285,7 +285,7 @@ Curl_he2ai(const struct hostent *he, int port) #endif ss_size = sizeof(struct sockaddr_in); - /* allocate memory to told the struct, the address and the name */ + /* allocate memory to hold the struct, the address and the name */ ai = calloc(1, sizeof(struct Curl_addrinfo) + ss_size + namelen); if(!ai) { result = CURLE_OUT_OF_MEMORY; |