diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2001-09-05 07:59:49 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2001-09-05 07:59:49 +0000 |
commit | 48adf763d04e6fb1268f084cd5bf22c76e69faae (patch) | |
tree | 2750e65fefce9803b9b6444a8bc5ddf3cea9247e /imap | |
parent | 4c779c0839f1a8089321fcfe2fb3bb140b0a83cb (diff) |
patch-1.3.22.1.remove_warnings.awn.1, from Andrew W. Nosenko.
Diffstat (limited to 'imap')
-rw-r--r-- | imap/imap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/imap/imap.c b/imap/imap.c index c4773ccb..ede06b8f 100644 --- a/imap/imap.c +++ b/imap/imap.c @@ -357,7 +357,6 @@ IMAP_DATA* imap_conn_find (const ACCOUNT* account, int flags) int imap_open_connection (IMAP_DATA* idata) { char buf[LONG_STRING]; - int rc; if (mutt_socket_open (idata->conn) < 0) return -1; @@ -376,6 +375,8 @@ int imap_open_connection (IMAP_DATA* idata) /* Attempt STARTTLS if available and desired. */ if (mutt_bit_isset (idata->capabilities, STARTTLS) && !idata->conn->ssf) { + int rc; + if ((rc = query_quadoption (OPT_SSLSTARTTLS, _("Secure connection with TLS?"))) == -1) goto err_close_conn; |