aboutsummaryrefslogtreecommitdiff
path: root/src/tool_operate.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-02-22 16:04:30 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-02-22 16:47:59 +0000
commit6969e24aee2031d9f99b9281f452b5b496c1f353 (patch)
tree68102c713f041f3679bb6b3cdc506901f8b19ef4 /src/tool_operate.c
parente08d0662b7b6e22d0f09b445141fd7827ae68478 (diff)
tool_operate: Moved list engines into separate function in tool_help
Diffstat (limited to 'src/tool_operate.c')
-rw-r--r--src/tool_operate.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c
index efe9bfc64..398cd812e 100644
--- a/src/tool_operate.c
+++ b/src/tool_operate.c
@@ -79,6 +79,7 @@
#include "tool_writeout.h"
#include "tool_xattr.h"
#include "tool_vms.h"
+#include "tool_help.h"
#include "memdebug.h" /* keep this as LAST include */
@@ -1831,10 +1832,7 @@ int operate(struct Configurable *config, int argc, argv_item_t argv[])
}
/* Check if we were asked to list the SSL engines */
else if(config->list_engines) {
- struct curl_slist *engines = NULL;
- curl_easy_getinfo(config->easy, CURLINFO_SSL_ENGINES, &engines);
- list_engines(engines);
- curl_slist_free_all(engines);
+ tool_list_engines(config->easy);
}
/* Perform the main operations */
else {