projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
default magic is useless: only _create_ mboxes and maildirs.
[apps/madmutt.git]
/
lib-mx
/
compress.c
diff --git
a/lib-mx/compress.c
b/lib-mx/compress.c
index
01e4a07
..
2b18cbb
100644
(file)
--- a/
lib-mx/compress.c
+++ b/
lib-mx/compress.c
@@
-307,9
+307,7
@@
int mutt_open_append_compressed (CONTEXT * ctx)
m_fclose(&fh);
ctx->path = p_dupstr(tmppath, m_strlen(tmppath));
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);
if (is_new (ctx->realpath) || ctx->magic != M_MBOX)
unlink(tmppath);