diff options
author | Viktor Szakats <commit@vszakats.net> | 2018-10-08 19:37:40 +0000 |
---|---|---|
committer | Viktor Szakats <commit@vszakats.net> | 2018-10-08 19:37:40 +0000 |
commit | ff9d7f44479c3542f47ffa19b1235c7fc8160a9e (patch) | |
tree | de8789b569e23eab1654ce07c6ebe79b27470eb4 /lib | |
parent | 82e40afe876298ef832f4573c7e6dfac3af2b4ce (diff) | |
download | curl-ff9d7f44479c3542f47ffa19b1235c7fc8160a9e.tar.gz |
spelling fixes [ci skip]
as detected by codespell 1.14.0
Closes https://github.com/curl/curl/pull/3114
Reviewed-by: Marcel Raad <Marcel.Raad@teamviewer.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/http.c | 2 | ||||
-rw-r--r-- | lib/url.c | 2 | ||||
-rw-r--r-- | lib/urldata.h | 2 | ||||
-rw-r--r-- | lib/vtls/openssl.c | 2 | ||||
-rw-r--r-- | lib/vtls/schannel.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/lib/http.c b/lib/http.c index 47e47193d..46ac15a6e 100644 --- a/lib/http.c +++ b/lib/http.c @@ -169,7 +169,7 @@ CURLcode Curl_http_setup_conn(struct connectdata *conn) data->req.protop = http; if(!CONN_INUSE(conn)) - /* if not alredy multi-using, setup connection details */ + /* if not already multi-using, setup connection details */ Curl_http2_setup_conn(conn); Curl_http2_setup_req(data); return CURLE_OK; @@ -3029,7 +3029,7 @@ static CURLcode override_login(struct Curl_easy *data, int ret; if(data->set.use_netrc == CURL_NETRC_OPTIONAL) - nuser = *userp; /* to separate otherwise indentical machines */ + nuser = *userp; /* to separate otherwise identical machines */ ret = Curl_parsenetrc(conn->host.name, &nuser, &npasswd, diff --git a/lib/urldata.h b/lib/urldata.h index 1fede5090..1ebe4fd4f 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -1255,7 +1255,7 @@ struct UrlState { size_t headersize; /* size of the allocation */ char *buffer; /* download buffer */ - char *ulbuf; /* alloced upload buffer or NULL */ + char *ulbuf; /* allocated upload buffer or NULL */ curl_off_t current_speed; /* the ProgressShow() function sets this, bytes / second */ bool this_is_a_follow; /* this is a followed Location: request */ diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index 551298926..2eb58015f 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -2527,7 +2527,7 @@ static CURLcode ossl_connect_step1(struct connectdata *conn, int sockindex) } #ifdef CURL_CA_FALLBACK else if(verifypeer) { - /* verfying the peer without any CA certificates won't + /* verifying the peer without any CA certificates won't work so use openssl's built in default as fallback */ SSL_CTX_set_default_verify_paths(BACKEND->ctx); } diff --git a/lib/vtls/schannel.h b/lib/vtls/schannel.h index 51417affe..e491bd431 100644 --- a/lib/vtls/schannel.h +++ b/lib/vtls/schannel.h @@ -41,7 +41,7 @@ * typedef struct X509_name_st X509_NAME; * etc. * - * this wil cause all kinds of C-preprocessing paste errors in + * this will cause all kinds of C-preprocessing paste errors in * BoringSSL's <openssl/x509.h>: So just undefine those defines here * (and only here). */ |