mirror of
https://github.com/curl/curl.git
synced 2026-08-25 08:23:31 +03:00
cleanup: fix typos and wording in docs and comments
Closes #4869 Reviewed-by: Emil Engler and Daniel Gustafsson
This commit is contained in:
parent
6ef123522a
commit
4b6fd29f1a
15 changed files with 24 additions and 24 deletions
|
|
@ -5,7 +5,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 2018 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 2018 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
*
|
||||
* This software is licensed as described in the file COPYING, which
|
||||
* you should have received as part of this distribution. The terms
|
||||
|
|
@ -548,7 +548,7 @@ static DOHcode store_cname(unsigned char *doh,
|
|||
if((index + 1) >= dohlen)
|
||||
return DOH_DNS_OUT_OF_RANGE;
|
||||
|
||||
/* move to the the new index */
|
||||
/* move to the new index */
|
||||
newpos = (length & 0x3f) << 8 | doh[index + 1];
|
||||
index = newpos;
|
||||
continue;
|
||||
|
|
|
|||
|
|
@ -2388,7 +2388,7 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
|
|||
return CURLE_OUT_OF_MEMORY;
|
||||
}
|
||||
}
|
||||
/* Extract the the URL to use in the request. Store in STRING_TEMP_URL for
|
||||
/* Extract the URL to use in the request. Store in STRING_TEMP_URL for
|
||||
clean-up reasons if the function returns before the free() further
|
||||
down. */
|
||||
uc = curl_url_get(h, CURLUPART_URL, &data->set.str[STRING_TEMP_URL], 0);
|
||||
|
|
|
|||
|
|
@ -1269,7 +1269,7 @@ ConnectionExists(struct Curl_easy *data,
|
|||
needle->conn_to_port == check->conn_to_port) &&
|
||||
strcasecompare(needle->host.name, check->host.name) &&
|
||||
needle->remote_port == check->remote_port) {
|
||||
/* The schemes match or the the protocol family is the same and the
|
||||
/* The schemes match or the protocol family is the same and the
|
||||
previous connection was TLS upgraded, and the hostname and host
|
||||
port match */
|
||||
if(needle->handler->flags & PROTOPT_SSL) {
|
||||
|
|
|
|||
|
|
@ -718,7 +718,7 @@ schannel_connect_step1(struct connectdata *conn, int sockindex)
|
|||
unsigned short* list_len = NULL;
|
||||
|
||||
/* The first four bytes will be an unsigned int indicating number
|
||||
of bytes of data in the rest of the the buffer. */
|
||||
of bytes of data in the rest of the buffer. */
|
||||
extension_len = (unsigned int *)(&alpn_buffer[cur]);
|
||||
cur += sizeof(unsigned int);
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 2012 - 2017, Nick Zitzmann, <nickzman@gmail.com>.
|
||||
* Copyright (C) 2012 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 2012 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
*
|
||||
* This software is licensed as described in the file COPYING, which
|
||||
* you should have received as part of this distribution. The terms
|
||||
|
|
@ -1164,7 +1164,7 @@ static OSStatus CopyIdentityFromPKCS12File(const char *cPath,
|
|||
* the Keychain.
|
||||
*
|
||||
* As this doesn't match iOS, and apps may not want to see their client
|
||||
* certificate saved in the the user's keychain, we use SecItemImport
|
||||
* certificate saved in the user's keychain, we use SecItemImport
|
||||
* with a NULL keychain to avoid importing it.
|
||||
*
|
||||
* This returns a SecCertificateRef from which we can construct a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue