Uses the Curl_SSLConnect() according to the new return type

This commit is contained in:
Daniel Stenberg
2001-05-12 09:30:42 +00:00
parent 8fd89d6b93
commit c7dbde9f3f
2 changed files with 6 additions and 4 deletions

View File

@@ -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;
}