diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2006-02-21 08:10:15 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2006-02-21 08:10:15 +0000 |
commit | 34b4962acf50f6a430ee93635e8d1f8b90a2bd50 (patch) | |
tree | 806a1fa5ed3df5976b5be7b51956aba8c0d5ab85 /attach.c | |
parent | 961c65480f10026c940669aa5f1564633f3a8142 (diff) |
Fix mutt/2186.
Diffstat (limited to 'attach.c')
-rw-r--r-- | attach.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -782,7 +782,7 @@ int mutt_save_attachment (FILE *fp, BODY *m, char *path, int flags, HEADER *hdr) return -1; } if (ctx.magic == M_MBOX || ctx.magic == M_MMDF) - chflags = CH_FROM; + chflags = CH_FROM | CH_UPDATE_LEN; chflags |= (ctx.magic == M_MAILDIR ? CH_NOSTATUS : CH_UPDATE); if (_mutt_copy_message (msg->fp, fp, hn, hn->content, 0, chflags) == 0 && mx_commit_message (msg, &ctx) == 0) |