1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

tool: Fixed incorrect return code with --version from commit c10bf9bb36

This commit is contained in:
Steve Holme 2014-02-23 12:10:42 +00:00
parent 3674f2021d
commit 6512e93be1

View File

@ -1839,7 +1839,7 @@ CURLcode operate(struct Configurable *config, int argc, argv_item_t argv[])
else if(res == PARAM_VERSION_INFO_REQUESTED)
tool_version_info();
/* Check if we were asked to list the SSL engines */
if(res == PARAM_ENGINES_REQUESTED)
else if(res == PARAM_ENGINES_REQUESTED)
tool_list_engines(config->easy);
else
result = CURLE_FAILED_INIT;