]> git.ipfire.org Git - thirdparty/curl.git/commit
cmdline: fix handling of OperationConfig linked list (--next)
authorRici Lake <ricilake@gmail.com>
Wed, 18 Mar 2020 23:28:19 +0000 (18:28 -0500)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 20 Mar 2020 10:14:12 +0000 (11:14 +0100)
commit4e0b4fee4aea25da850327e068f307e6dc5200f2
tree21bd0dfce7e4dd3ff443091737d006601f82b1ec
parent3d77d089a4abaf81f4be4b78f66c4356002de3e3
cmdline: fix handling of OperationConfig linked list (--next)

Ensures that -K/--config inserts new items at the end of the list
instead of overwriting the second item, and that after a -K/--config
option has been parsed, the option parser's view of the current config
is update.

Fixes #5120
Closes #5123
src/tool_getparam.c
src/tool_parsecfg.c