]> git.ipfire.org Git - thirdparty/curl.git/commit
tool_getparam: fix --ftp-pasv
authorDan Fandrich <dan@coneharvesters.com>
Fri, 6 Jun 2025 17:21:09 +0000 (10:21 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Fri, 6 Jun 2025 21:40:14 +0000 (14:40 -0700)
commit5f805eec1149c218145097ec2a24ac7fb7d46f25
tree5e9ca89aa8f5a44271680e7e7da32bed54aac503
parent900612df7928187fb80a002bca3f03a19552deda
tool_getparam: fix --ftp-pasv

This boolean option was moved to the wrong handling function. Make it
an ARG_NONE and move it to the correct handler and add a test to
verify that the option works.

Follow-up to 698491f44

Reported-by: fjaell on github
Fixes #17545
Closes #17547
docs/cmdline-opts/ftp-pasv.md
src/tool_getparam.c
tests/data/Makefile.am
tests/data/test1547 [new file with mode: 0644]