misc: fix various typos

Closes #11561
This commit is contained in:
Alexander Jaeger 2023-08-01 09:19:58 +00:00 committed by Daniel Stenberg
parent d4618a3fc4
commit 959e613e7c
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
6 changed files with 7 additions and 7 deletions

View file

@ -129,7 +129,7 @@ function to a variable expansion, add them colon separated to the right side
of the variable. Variable content holding null bytes that are not encoded when
expanded, will cause error.
Exmaple: get the contents of a file called $HOME/.secret into a variable
Example: get the contents of a file called $HOME/.secret into a variable
called "fix". Make sure that the content is trimmed and percent-encoded sent
as POST data:

View file

@ -55,7 +55,7 @@ int main(void)
returns CURLE_PEER_FAILED_VERIFICATION */
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
/* Letting the wrong host name in the certficate be okay, the transfer
/* Letting the wrong host name in the certificate be okay, the transfer
goes through but will (most likely) cause a 404 or similar because it
sends an unknown name in the Host: header field */
res = curl_easy_perform(curl);