aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-03-08 15:46:21 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-03-08 15:46:21 +0000
commitf70f11fc70ecdf12669e0222303d7af59d462548 (patch)
tree7b3472d7a946459a1058f89821b0bc129aaf9bfe /lib
parentcffebd7fd6b7d9f24793f94fbae2a62c05c46eb0 (diff)
Peter Heuchert's correction for the clear control connection case
Diffstat (limited to 'lib')
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 3d29b349f..7a0cc9a83 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -2472,7 +2472,7 @@ static CURLcode ftp_statemach_act(struct connectdata *conn)
if(ftpcode/100 == 2)
/* We have enabled SSL for the data connection! */
conn->ssl[SECONDARYSOCKET].use =
- data->set.ftp_ssl > CURLFTPSSL_CONTROL;
+ data->set.ftp_ssl != CURLFTPSSL_CONTROL;
/* FTP servers typically responds with 500 if they decide to reject
our 'P' request */
else if(data->set.ftp_ssl> CURLFTPSSL_CONTROL)