diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2003-11-03 10:30:58 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2003-11-03 10:30:58 +0000 |
commit | be93e41b06c6e3637fa281496b123fc675b53908 (patch) | |
tree | 7e5a63b262b01366b94c2b8244a45d5ec3111d7f /attach.c | |
parent | 196a83ab4c21b684df1d2f70761e31d06fe4f48d (diff) |
Fix a logic flaw in attachment saving.
Diffstat (limited to 'attach.c')
-rw-r--r-- | attach.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -770,7 +770,7 @@ int mutt_save_attachment (FILE *fp, BODY *m, char *path, int flags, HEADER *hdr) 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) - mutt_message _("Attachment saved."); + r = 0; else r = -1; |