summaryrefslogtreecommitdiffstats
path: root/imap
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2001-02-23 09:13:45 +0000
committerThomas Roessler <roessler@does-not-exist.org>2001-02-23 09:13:45 +0000
commit5d42b78a7e488f1e0e1869c3e549f09b3567c7e5 (patch)
tree237a82a30e6fd27bbab8316816cbeff3d259670e /imap
parentf7ec5889acf1bb76f6c005429cce858b1c94572e (diff)
update.
Diffstat (limited to 'imap')
-rw-r--r--imap/imap.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/imap/imap.c b/imap/imap.c
index 80e4c73a..80460a2c 100644
--- a/imap/imap.c
+++ b/imap/imap.c
@@ -389,7 +389,8 @@ int imap_open_connection (IMAP_DATA* idata)
{
if (mutt_ssl_starttls (idata->conn))
{
- dprint (1, (debugfile, "imap_open_connection: STARTTLS failed\n"));
+ mutt_error ("Could not negotiate TLS connection");
+ sleep (1);
goto bail;
}
else
@@ -1052,7 +1053,8 @@ int imap_check_mailbox (CONTEXT *ctx, int *index_hint)
idata = (IMAP_DATA*) ctx->data;
now = time(NULL);
- if (now > ImapLastCheck + Timeout) {
+ if (now > ImapLastCheck + Timeout)
+ {
ImapLastCheck = now;
if (imap_exec (idata, "NOOP", 0) != 0)