summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2001-05-28 15:33:21 +0000
committerThomas Roessler <roessler@does-not-exist.org>2001-05-28 15:33:21 +0000
commitc74676cb35234b335303b034bffb03138ff04111 (patch)
tree2a179d9cd5ac17a860a7dd0f33b7e92bd86fa7fd
parenta3e6458a7d1bb18b5f3d56dd26bc18436aa475ba (diff)
Fix attaching messages via IMAP. From Brendan Cully.
-rw-r--r--curs_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/curs_main.c b/curs_main.c
index c2ccc647..d89e6e27 100644
--- a/curs_main.c
+++ b/curs_main.c
@@ -1889,7 +1889,8 @@ int mutt_index_menu (void)
#ifdef USE_IMAP
/* Close all open IMAP connections */
- imap_logout_all ();
+ if (!attach_msg)
+ imap_logout_all ();
#endif
mutt_menuDestroy (&menu);