summaryrefslogtreecommitdiffstats
path: root/attach.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2002-03-13 23:43:41 +0000
committerThomas Roessler <roessler@does-not-exist.org>2002-03-13 23:43:41 +0000
commite58d69dfb552975b098927ff9f7ecbdc4c12cf6b (patch)
tree2bc49e09c4c25622706456f4cabf2d65e498eb94 /attach.c
parent9d196d14c3a3229fa677f0827303d95b97b37680 (diff)
Undoing the previous patch. It was junk, and may ruin files.
Diffstat (limited to 'attach.c')
-rw-r--r--attach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/attach.c b/attach.c
index 3d78708e..5921ddf2 100644
--- a/attach.c
+++ b/attach.c
@@ -762,7 +762,7 @@ int mutt_save_attachment (FILE *fp, BODY *m, char *path, int flags, HEADER *hdr)
fseek (fp, m->offset, 0);
if (fgets (buf, sizeof (buf), fp) == NULL)
return -1;
- if (mx_open_mailbox (path, (flags == M_SAVE_APPEND ? M_APPEND : M_NEW) | M_QUIET, &ctx) == NULL)
+ if (mx_open_mailbox(path, M_APPEND | M_QUIET, &ctx) == NULL)
return -1;
if ((msg = mx_open_new_message (&ctx, hn, is_from (buf, NULL, 0, NULL) ? 0 : M_ADD_FROM)) == NULL)
{