summaryrefslogtreecommitdiffstats
path: root/mx.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-10-27 09:40:36 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-10-27 09:40:36 +0000
commit015b86fd14297a6c1b1d9b6f10529edc96dc4d0a (patch)
tree1f1a5e0d33e86e192541eecdbcd405bebd752a9a /mx.c
parente8c12eeb90b846a333fa1f7c557541e7efe2f245 (diff)
Prevent mutt from re-reading IMAP folders before quitting.
Diffstat (limited to 'mx.c')
-rw-r--r--mx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mx.c b/mx.c
index 4f4d9594..b1ed5c01 100644
--- a/mx.c
+++ b/mx.c
@@ -710,6 +710,8 @@ int mx_close_mailbox (CONTEXT *ctx)
char mbox[_POSIX_PATH_MAX];
char buf[SHORT_STRING];
+ ctx->closing = 1;
+
if (ctx->readonly || ctx->dontwrite)
{
/* mailbox is readonly or we don't want to write */