summaryrefslogtreecommitdiffstats
path: root/attach.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2003-11-03 10:30:58 +0000
committerThomas Roessler <roessler@does-not-exist.org>2003-11-03 10:30:58 +0000
commitbe93e41b06c6e3637fa281496b123fc675b53908 (patch)
tree7e5a63b262b01366b94c2b8244a45d5ec3111d7f /attach.c
parent196a83ab4c21b684df1d2f70761e31d06fe4f48d (diff)
Fix a logic flaw in attachment saving.
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 4cda1702..06dc12b3 100644
--- a/attach.c
+++ b/attach.c
@@ -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;