misc: spelling improvements

Closes #8956
This commit is contained in:
Fabian Keil 2021-03-27 05:03:00 +01:00 committed by Daniel Stenberg
parent 298c1dfc7b
commit 9dbce9b3d0
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
6 changed files with 7 additions and 7 deletions

View File

@ -30,7 +30,7 @@ CURLOPT_PORT \- remote port number to connect to
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PORT, long number);
.fi
.SH DESCRIPTION
We discourage using this option since it's scope is not obvious and hard to
We discourage using this option since its scope is not obvious and hard to
predict. Set the preferred port number in the URL instead.
This option sets \fInumber\fP to be the remote port number to connect to,

View File

@ -50,9 +50,9 @@ enum.
The callback MUST return one of the following return codes to tell libcurl how
to act:
.IP CURLKHMATCH_OK
The hostkey is accepted, the connexion should continue.
The hostkey is accepted, the connection should continue.
.IP CURLKHMATCH_MISMATCH
the hostkey is rejected, the connexion is canceled.
the hostkey is rejected, the connection is canceled.
.SH DEFAULT
NULL
.SH PROTOCOLS

View File

@ -186,7 +186,7 @@ static CURLcode altsvc_add(struct altsvcinfo *asi, char *line)
* Load alt-svc entries from the given file. The text based line-oriented file
* format is documented here: https://curl.se/docs/alt-svc.html
*
* This function only returns error on major problems that prevents alt-svc
* This function only returns error on major problems that prevent alt-svc
* handling to work completely. It will ignore individual syntactical errors
* etc.
*/

View File

@ -1570,7 +1570,7 @@ CURLcode Curl_follow(struct Curl_easy *data,
data->state.referer_alloc = FALSE;
}
/* Make a copy of the URL without crenditals and fragment */
/* Make a copy of the URL without credentials and fragment */
u = curl_url();
if(!u)
return CURLE_OUT_OF_MEMORY;

View File

@ -53,7 +53,7 @@ X-Control: swsclose
http
</server>
<name>
Chunked transfer encoding - Multple valid chunks with binary zeros.
Chunked transfer encoding - Multiple valid chunks with binary zeros.
</name>
<features>
proxy

View File

@ -879,7 +879,7 @@ static int get_request(curl_socket_t sock, struct httprequest *req)
else {
if(req->skip)
/* we are instructed to not read the entire thing, so we make sure to
only read what we're supposed to and NOT read the enire thing the
only read what we're supposed to and NOT read the entire thing the
client wants to send! */
got = sread(sock, reqbuf + req->offset, req->cl);
else