Rocco Rutte:
authorpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Wed, 6 Apr 2005 16:06:04 +0000 (16:06 +0000)
committerpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Wed, 6 Apr 2005 16:06:04 +0000 (16:06 +0000)
- fix typo (oops!)
- turn mutt_perror into macro reporting occurance of error

git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@253 e385b8ad-14ed-0310-8656-cc95a2468c6d

mx.c

diff --git a/mx.c b/mx.c
index 91cf98c..4f0c75b 100644 (file)
--- a/mx.c
+++ b/mx.c
@@ -525,8 +525,10 @@ CONTEXT *mx_open_mailbox (const char *path, int flags, CONTEXT * pctx)
 
   ctx->magic = mx_get_magic (path);
 
 
   ctx->magic = mx_get_magic (path);
 
+#ifdef USE_COMPRESSED
   if (ctx->magic == M_COMPRESSED)
     mutt_open_read_compressed (ctx);
   if (ctx->magic == M_COMPRESSED)
     mutt_open_read_compressed (ctx);
+#endif
 
   if (ctx->magic == 0)
     mutt_error (_("%s is not a mailbox."), path);
 
   if (ctx->magic == 0)
     mutt_error (_("%s is not a mailbox."), path);