missing bits.
[apps/madmutt.git] / lib-ui / curs_main.c
index c7d4712..31c11bf 100644 (file)
@@ -27,6 +27,7 @@
 #include "recvattach.h"
 #include "buffy.h"
 #include "thread.h"
+#include "mutt_sasl.h"
 
 #include <imap/imap_private.h>
 
 #include <nntp/nntp.h>
 #endif
 
-#ifdef USE_SASL
-#include "mutt_sasl.h"
-#endif
-
 static const char *No_mailbox_is_open = N_("No mailbox is open.");
 static const char *There_are_no_messages = N_("There are no messages.");
 static const char *Mailbox_is_read_only = N_("Mailbox is read-only.");
@@ -2318,9 +2315,7 @@ int mutt_index_menu (void)
   /* Close all open NNTP connections */
     nntp_logout_all ();
 #endif
-#ifdef USE_SASL
     mutt_sasl_done ();
-#endif
   }
 
   mutt_menuDestroy (&menu);