]> granicus.if.org Git - mutt/commitdiff
Fix attaching messages via IMAP. From Brendan Cully.
authorThomas Roessler <roessler@does-not-exist.org>
Mon, 28 May 2001 15:33:21 +0000 (15:33 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Mon, 28 May 2001 15:33:21 +0000 (15:33 +0000)
curs_main.c

index c2ccc647d4c8be628c15226054e3ad5fccf1ddd2..d89e6e27a732fabb41056adeac2de49676c0e495 100644 (file)
@@ -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);