]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tool_formparse.c: fix two minor comment typos
authorDaniel Stenberg <daniel@haxx.se>
Fri, 1 May 2026 09:28:30 +0000 (11:28 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 1 May 2026 09:54:08 +0000 (11:54 +0200)
Pointed out by Copilot

Closes #21480

src/tool_formparse.c

index 67e73fc47926b57f145ce63fd3bbab426f999d39..eb43b06ed981c54320a1c5f43a2e69e8ee58de61 100644 (file)
@@ -731,7 +731,7 @@ static int get_param_part(char endchar,
  * file and do like this:
  *
  * 'name=foo;headers=@headerfile' or why not
- * 'name=@filemame;headers=@headerfile'
+ * 'name=@filename;headers=@headerfile'
  *
  * To upload a file, but to fake the filename that is included in the
  * formpost, do like this:
@@ -740,8 +740,8 @@ static int get_param_part(char endchar,
  * 'name=@filename;filename="play, play, and play.txt"'
  *
  * If filename/path contains ',' or ';', it must be quoted by double-quotes,
- * else curl fails to figure out the correct filename. if the filename
- * tobe quoted contains '"' or '\', '"' and '\' must be escaped by backslash.
+ * else curl fails to figure out the correct filename. if the filename to be
+ * quoted contains '"' or '\', '"' and '\' must be escaped by backslash.
  *
  ***************************************************************************/