projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove antiquated cruft: please, who use MMDF's nowadays ?!
[apps/madmutt.git]
/
lib-mx
/
compress.c
diff --git
a/lib-mx/compress.c
b/lib-mx/compress.c
index
6e988ca
..
93a383d
100644
(file)
--- a/
lib-mx/compress.c
+++ b/
lib-mx/compress.c
@@
-266,7
+266,7
@@
static void restore_path (CONTEXT * ctx)
/* remove the temporary mailbox */
static void remove_file (CONTEXT * ctx)
{
/* remove the temporary mailbox */
static void remove_file (CONTEXT * ctx)
{
- if (ctx->magic == M_MBOX
|| ctx->magic == M_MMDF
)
+ if (ctx->magic == M_MBOX)
remove (ctx->path);
}
remove (ctx->path);
}
@@
-296,13
+296,10
@@
int mutt_open_append_compressed (CONTEXT * ctx)
ctx->magic = DefaultMagic;
ctx->magic = DefaultMagic;
- if (is_new (ctx->realpath) ||
- (ctx->magic != M_MBOX &&
- ctx->magic != M_MMDF))
+ if (is_new (ctx->realpath) || ctx->magic != M_MBOX)
unlink(tmppath);
/* No error checking - the parent function will catch it */
unlink(tmppath);
/* No error checking - the parent function will catch it */
-
return 0;
}
return 0;
}