aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-05-12 09:30:42 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-05-12 09:30:42 +0000
commitc7dbde9f3f0a3dd8e3b04106c2d8dba90d89c994 (patch)
tree7f71d766521ef014019d6f472050f6a6e925e709 /lib/ftp.c
parent8fd89d6b937e6fd12b43af351676dceeaaf25324 (diff)
Uses the Curl_SSLConnect() according to the new return type
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index a2c8455c7..0edcd05f0 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -481,8 +481,9 @@ CURLcode Curl_ftp_connect(struct connectdata *conn)
if(conn->protocol & PROT_FTPS) {
/* FTPS is simply ftp with SSL for the control channel */
/* now, perform the SSL initialization for this socket */
- if(Curl_SSLConnect(conn))
- return CURLE_SSL_CONNECT_ERROR;
+ result = Curl_SSLConnect(conn);
+ if(result)
+ return result;
}