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:
a1346054 2021-09-19 13:25:48 +00:00 committed by Daniel Stenberg
parent 33363aeb4d
commit 7cf5e8e70e
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
6 changed files with 6 additions and 6 deletions

View file

@ -1430,7 +1430,7 @@ ParameterError getparameter(const char *flag, /* f or -long-flag */
char *enc = curl_easy_escape(NULL, postdata, (int)size);
Curl_safefree(postdata); /* no matter if it worked or not */
if(enc) {
/* replace (in-place) '%20' by '+' acording to RFC1866 */
/* replace (in-place) '%20' by '+' according to RFC1866 */
size_t enclen = replace_url_encoded_space_by_plus(enc);
/* now make a string with the name from above and append the
encoded string */