From: Steve Holme Date: Sun, 23 Feb 2014 12:10:42 +0000 (+0000) Subject: tool: Fixed incorrect return code with --version from commit c10bf9bb36 X-Git-Tag: curl-7_36_0~99 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6512e93be1d60eb9879676665c032f34e6940c70;p=thirdparty%2Fcurl.git tool: Fixed incorrect return code with --version from commit c10bf9bb36 --- diff --git a/src/tool_operate.c b/src/tool_operate.c index eaff865007..d117a2aad4 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -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;