Rocco Rutte:
[apps/madmutt.git] / mbox.c
diff --git a/mbox.c b/mbox.c
index 639c824..b459f4e 100644 (file)
--- a/mbox.c
+++ b/mbox.c
 
 /* This file contains code to parse ``mbox'' and ``mmdf'' style mailboxes */
 
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include "mutt.h"
 #include "mailbox.h"
 #include "mx.h"
@@ -1105,8 +1109,10 @@ int mutt_reopen_mailbox (CONTEXT *ctx, int *index_hint)
       else 
       {
         cmp_headers = mbox_strict_cmp_headers;
-        rc = ((ctx->magic == M_MBOX) ? mbox_parse_mailbox
-                                    : mmdf_parse_mailbox) (ctx);
+        if (ctx->magic == M_MBOX)
+          rc = mbox_parse_mailbox(ctx);
+        else
+          rc = mmdf_parse_mailbox(ctx);
       }
       break;