projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cffebd7
)
Peter Heuchert's correction for the clear control connection case
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 8 Mar 2006 15:46:21 +0000
(15:46 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 8 Mar 2006 15:46:21 +0000
(15:46 +0000)
lib/ftp.c
patch
|
blob
|
history
diff --git
a/lib/ftp.c
b/lib/ftp.c
index
3d29b34
..
7a0cc9a
100644
(file)
--- 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)