aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-08-31 19:36:32 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-08-31 19:36:32 +0000
commit3fa60164af98720696cf157158e78ad4e0540aba (patch)
tree211b90f63ae98fdf016d3f2f249eadcc6c9155c7 /src
parentac6e0501c6a337ee39516d2ae085307d0c4f7a6e (diff)
Renamed the CURLE_FTP_SSL_FAILED error code to CURLE_USE_SSL_FAILED.
Renamed the curl_ftpssl enum to curl_usessl and its enumerated constants, creating macros for backward compatibility.
Diffstat (limited to 'src')
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 1a9f6e3c2..3eca434e0 100644
--- a/src/main.c
+++ b/src/main.c
@@ -4323,15 +4323,15 @@ 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, CURLFTPSSL_ALL);
+ my_setopt(curl, CURLOPT_USE_SSL, CURLUSESSL_ALL);
/* new in curl 7.11.0 */
else if(config->ftp_ssl)
- my_setopt(curl, CURLOPT_USE_SSL, CURLFTPSSL_TRY);
+ my_setopt(curl, CURLOPT_USE_SSL, CURLUSESSL_TRY);
/* new in curl 7.16.0 */
else if(config->ftp_ssl_control)
- my_setopt(curl, CURLOPT_USE_SSL, CURLFTPSSL_CONTROL);
+ my_setopt(curl, CURLOPT_USE_SSL, CURLUSESSL_CONTROL);
/* new in curl 7.16.1 */
if(config->ftp_ssl_ccc)