mirror of
https://github.com/curl/curl.git
synced 2026-08-25 02:53:32 +03:00
misc: fix typos in docs and comments
No user facing output from curl/libcurl is changed by this, just comments. Closes #7747
This commit is contained in:
parent
33363aeb4d
commit
7cf5e8e70e
6 changed files with 6 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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!");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue