#include "nntp.h"
#endif
+#ifdef USE_SASL
+#include "mutt_sasl.h"
+#endif
+
#include "lib/mem.h"
#include "lib/intl.h"
#include "lib/str.h"
break;
}
+ if (!attach_msg) {
#ifdef USE_IMAP
/* Close all open IMAP connections */
- if (!attach_msg)
imap_logout_all ();
#endif
#ifdef USE_NNTP
/* Close all open NNTP connections */
- if (!attach_msg)
nntp_logout_all ();
#endif
+#ifdef USE_SASL
+ mutt_sasl_done ();
+#endif
+ }
mutt_menuDestroy (&menu);
return (close);