default magic is useless: only _create_ mboxes and maildirs.
[apps/madmutt.git] / lib-mx / compress.c
index 01e4a07..2b18cbb 100644 (file)
@@ -307,9 +307,7 @@ int mutt_open_append_compressed (CONTEXT * ctx)
   m_fclose(&fh);
 
   ctx->path = p_dupstr(tmppath, m_strlen(tmppath));
-
-  ctx->magic = DefaultMagic;
-
+  ctx->magic = M_MBOX;
   if (is_new (ctx->realpath) || ctx->magic != M_MBOX)
       unlink(tmppath);