summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authora1346054 <36859588+a1346054@users.noreply.github.com>2021-09-19 13:25:48 +0000
committerDaniel Stenberg <daniel@haxx.se>2021-09-23 12:57:55 +0200
commit7cf5e8e70ef1fd1548bf19ee5419c9f27acfee43 (patch)
tree76238665c02e77188b8f551e147993827d93f2f7 /src
parent33363aeb4d56dbc370f011bc48effcb7151161a8 (diff)
downloadcurl-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 'src')
-rw-r--r--src/tool_getparam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_getparam.c b/src/tool_getparam.c
index 1e1827fc1..73ba8f537 100644
--- a/src/tool_getparam.c
+++ b/src/tool_getparam.c
@@ -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 */