1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

Peter Heuchert's correction for the clear control connection case

This commit is contained in:
Daniel Stenberg 2006-03-08 15:46:21 +00:00
parent cffebd7fd6
commit f70f11fc70

View File

@ -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)