]> granicus.if.org Git - curl/commit
curl: don't set FTP options for FTP-disabled builds
authorDaniel Stenberg <daniel@haxx.se>
Wed, 15 May 2019 06:42:57 +0000 (08:42 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 16 May 2019 06:11:37 +0000 (08:11 +0200)
commitf506ce099f1ba0f659ff574d2ab09cfb18e8a203
tree0b4495ae72ab0c2f410f95bf263ae5b632023021
parentfe20826b580aa221f8f796cba236d08dc0fd80fd
curl: don't set FTP options for FTP-disabled builds

... since libcurl has started to be totally unaware of options for
disabled protocols they now return error.

Bug: https://github.com/curl/curl/commit/c9c5304dd4747cbe75d2f24be85920d572fcb5b8#commitcomment-33533937

Reported-by: Marcel Raad
Closes #3886
src/tool_operate.c