diff options
Diffstat (limited to 'lib/imap.c')
-rw-r--r-- | lib/imap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/imap.c b/lib/imap.c index 986b79a56..ab53c9d74 100644 --- a/lib/imap.c +++ b/lib/imap.c @@ -580,7 +580,7 @@ static CURLcode imap_statemach_act(struct connectdata *conn) return CURLE_FTP_WEIRD_SERVER_REPLY; } - if(data->set.ftp_ssl && !conn->ssl[FIRSTSOCKET].use) { + if(data->set.use_ssl && !conn->ssl[FIRSTSOCKET].use) { /* We don't have a SSL/TLS connection yet, but SSL is requested. Switch to TLS connection now */ const char *str; |