]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs/opts: fix typos in two manual pages
authorSamanta Navarro <ferivoz@riseup.net>
Sat, 3 Oct 2020 11:51:02 +0000 (11:51 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 3 Oct 2020 20:53:16 +0000 (22:53 +0200)
Closes #6039

docs/libcurl/opts/CURLINFO_RETRY_AFTER.3
docs/libcurl/opts/CURLOPT_TRAILERFUNCTION.3

index 8c7efdc5f867d8eb7f2b4837439c8dc7c9c05578..3c2df5867252cca916944ddaaa0e74aeb2697b48 100644 (file)
@@ -29,7 +29,7 @@ CURLINFO_RETRY_AFTER \- returns the Retry-After retry delay
 CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_RETRY_AFTER, curl_off_t *retry);
 .SH DESCRIPTION
 Pass a pointer to a curl_off_t variable to receive the number of seconds the
-HTTP server suggesets the client should wait until the next request is
+HTTP server suggests the client should wait until the next request is
 issued. The information from the "Retry-After:" header.
 
 While the HTTP header might contain a fixed date string, the
index ab6198c6f63f713c7de2bf5bd7e64388b41d0bd9..2e5560231c6713dc959d0056e771cd9414f8a953 100644 (file)
@@ -82,7 +82,7 @@ if(curl) {
   curl_easy_setopt(curl, CURLOPT_READFUNCTION, read_cb);
 
   struct curl_slist *headers = NULL;
-  headers = curl_slist_append(headers, "Trailer: My-super-awsome-trailer");
+  headers = curl_slist_append(headers, "Trailer: My-super-awesome-trailer");
   res = curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
 
   /* Set the trailers filling callback */