summaryrefslogtreecommitdiffstats
path: root/mx.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-10-04 10:00:16 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-10-04 10:00:16 +0000
commitadb589867c4f383061f57333af8379853c75976a (patch)
tree5d4a8cd75063d7038d86dbd512957b2772d96f3e /mx.c
parent90a652416776caecc002132930c113b667cf2315 (diff)
Some fixes from Brendan Cully.
Diffstat (limited to 'mx.c')
-rw-r--r--mx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mx.c b/mx.c
index 056a13dd..f3ff480a 100644
--- a/mx.c
+++ b/mx.c
@@ -799,6 +799,9 @@ int mx_close_mailbox (CONTEXT *ctx)
}
mutt_expand_path (mbox, sizeof (mbox));
+#ifdef USE_IMAP
+ if (!mx_is_imap (ctx->path))
+#endif
if (isSpool)
{
snprintf (buf, sizeof (buf), _("Move read messages to %s?"), mbox);