aboutsummaryrefslogtreecommitdiff
path: root/src/tool_operate.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2013-07-22 19:43:08 +0200
committerYang Tse <yangsita@gmail.com>2013-07-22 21:40:43 +0200
commit82232bbbaf06b4ea0b86344ccf3ee0b3f7b0c92c (patch)
tree80de39c988e0e1ff0cc022b679ef0355e2ffe40d /src/tool_operate.c
parentbb2e0686abb01a04e3edc443ba72d18b744c3068 (diff)
curl: fix symbolic names for CURLUSESSL_* enum in --libcurl output
Diffstat (limited to 'src/tool_operate.c')
-rw-r--r--src/tool_operate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c
index 9b6dd625f..4df802967 100644
--- a/src/tool_operate.c
+++ b/src/tool_operate.c
@@ -1185,15 +1185,15 @@ int operate(struct Configurable *config, int argc, argv_item_t argv[])
/* new in curl 7.15.5 */
if(config->ftp_ssl_reqd)
- my_setopt(curl, CURLOPT_USE_SSL, CURLUSESSL_ALL);
+ my_setopt_enum(curl, CURLOPT_USE_SSL, (long)CURLUSESSL_ALL);
/* new in curl 7.11.0 */
else if(config->ftp_ssl)
- my_setopt(curl, CURLOPT_USE_SSL, CURLUSESSL_TRY);
+ my_setopt_enum(curl, CURLOPT_USE_SSL, (long)CURLUSESSL_TRY);
/* new in curl 7.16.0 */
else if(config->ftp_ssl_control)
- my_setopt(curl, CURLOPT_USE_SSL, CURLUSESSL_CONTROL);
+ my_setopt_enum(curl, CURLOPT_USE_SSL, (long)CURLUSESSL_CONTROL);
/* new in curl 7.16.1 */
if(config->ftp_ssl_ccc)