]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
lib: the number four in a sequence is the "fourth"
authorDaniel Stenberg <daniel@haxx.se>
Sun, 18 Sep 2022 21:23:42 +0000 (23:23 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 19 Sep 2022 06:48:49 +0000 (08:48 +0200)
Spelling is hard

Closes #9535

lib/asyn-ares.c
lib/asyn.h
lib/hostip6.c
lib/http.c

index fb933b5edf30d13431f3d690d71b13f903f83a12..dff671b4de68737439d0cc5259c4babb33508f10 100644 (file)
@@ -746,7 +746,7 @@ static void addrinfo_cb(void *arg, int status, int timeouts,
  * Curl_resolver_getaddrinfo() - when using ares
  *
  * Returns name information about the given hostname and port number. If
- * successful, the 'hostent' is returned and the forth argument will point to
+ * successful, the 'hostent' is returned and the fourth argument will point to
  * memory we need to free after use. That memory *MUST* be freed with
  * Curl_freeaddrinfo(), nothing else.
  */
index 80ca54d787e5b5e4595582f40ffba93d51d02c42..1aab21aaa748847df0cfbdb5575931dbc386147f 100644 (file)
@@ -148,7 +148,7 @@ CURLcode Curl_resolver_wait_resolv(struct Curl_easy *data,
  * Curl_resolver_getaddrinfo() - when using this resolver
  *
  * Returns name information about the given hostname and port number. If
- * successful, the 'hostent' is returned and the forth argument will point to
+ * successful, the 'hostent' is returned and the fourth argument will point to
  * memory we need to free after use. That memory *MUST* be freed with
  * Curl_freeaddrinfo(), nothing else.
  *
index d9868628c31bd6fee8329e6d5d2376071fdad4b5..f1b36afb284b444c70dd31c14f675791f6fda50a 100644 (file)
@@ -96,8 +96,8 @@ static void dump_addrinfo(struct connectdata *conn,
  * non-ares version).
  *
  * Returns name information about the given hostname and port number. If
- * successful, the 'addrinfo' is returned and the forth argument will point to
- * memory we need to free after use. That memory *MUST* be freed with
+ * successful, the 'addrinfo' is returned and the fourth argument will point
+ * to memory we need to free after use. That memory *MUST* be freed with
  * Curl_freeaddrinfo(), nothing else.
  */
 struct Curl_addrinfo *Curl_getaddrinfo(struct Curl_easy *data,
index 2fbd80fb296590ef54f99bcbefd975f67de02ce1..bef4b8c875042b984b4f82fdd3493af985e0bbf8 100644 (file)
@@ -3618,7 +3618,7 @@ CURLcode Curl_http_header(struct Curl_easy *data, struct connectdata *conn,
        The second format was added since Sun's webserver
        JavaWebServer/1.1.1 obviously sends the header this way!
        The third added since some servers use that!
-       The forth means the requested range was unsatisfied.
+       The fourth means the requested range was unsatisfied.
     */
 
     char *ptr = headp + strlen("Content-Range:");