diff options
author | a1346054 <36859588+a1346054@users.noreply.github.com> | 2021-09-19 13:25:48 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-09-23 12:57:55 +0200 |
commit | 7cf5e8e70ef1fd1548bf19ee5419c9f27acfee43 (patch) | |
tree | 76238665c02e77188b8f551e147993827d93f2f7 /lib | |
parent | 33363aeb4d56dbc370f011bc48effcb7151161a8 (diff) | |
download | curl-7cf5e8e70ef1fd1548bf19ee5419c9f27acfee43.tar.gz |
misc: fix typos in docs and comments
No user facing output from curl/libcurl is changed by this, just
comments.
Closes #7747
Diffstat (limited to 'lib')
-rw-r--r-- | lib/curl_sasl.c | 2 | ||||
-rw-r--r-- | lib/http_aws_sigv4.c | 2 | ||||
-rw-r--r-- | lib/http_proxy.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/curl_sasl.c b/lib/curl_sasl.c index 4a2488720..a5ee8bbe2 100644 --- a/lib/curl_sasl.c +++ b/lib/curl_sasl.c @@ -272,7 +272,7 @@ static CURLcode build_message(struct Curl_easy *data, struct bufref *msg) char *base64; size_t base64len; - if(!Curl_bufref_ptr(msg)) /* Empty mesage. */ + if(!Curl_bufref_ptr(msg)) /* Empty message. */ Curl_bufref_set(msg, "", 0, NULL); else if(!Curl_bufref_len(msg)) /* Explicit empty response. */ Curl_bufref_set(msg, "=", 1, NULL); diff --git a/lib/http_aws_sigv4.c b/lib/http_aws_sigv4.c index 02663abd6..8b87e1f08 100644 --- a/lib/http_aws_sigv4.c +++ b/lib/http_aws_sigv4.c @@ -321,7 +321,7 @@ CURLcode Curl_output_aws_sigv4(struct Curl_easy *data, bool proxy) /* * Google allow to use rsa key instead of HMAC, so this code might change - * In the furure, but for now we support only HMAC version + * In the future, but for now we support only HMAC version */ str_to_sign = curl_maprintf("%s4-HMAC-SHA256\n" /* Algorithm */ "%s\n" /* RequestDateTime */ diff --git a/lib/http_proxy.c b/lib/http_proxy.c index 58489abec..ef403d7f4 100644 --- a/lib/http_proxy.c +++ b/lib/http_proxy.c @@ -207,7 +207,7 @@ static void connect_done(struct Curl_easy *data) Curl_dyn_free(&s->rcvbuf); Curl_dyn_free(&s->req); - /* retore the protocol pointer */ + /* restore the protocol pointer */ data->req.p.http = s->prot_save; s->prot_save = NULL; infof(data, "CONNECT phase completed!"); |