Changeset 1546:c0fff2f75b8c for attach.c
Legend:
- Unmodified
- Added
- Removed
-
attach.c
r1520 r1546 703 703 chflags = CH_FROM; 704 704 chflags |= (ctx.magic == M_MAILDIR ? CH_NOSTATUS : CH_UPDATE); 705 if ((r = _mutt_copy_message (msg->fp, fp, hn, hn->content, 0, chflags)) == 0) 705 if (_mutt_copy_message (msg->fp, fp, hn, hn->content, 0, chflags) == 0 706 && mx_commit_message (msg, &ctx) == 0) 706 707 mutt_message _("Attachment saved."); 707 708 mx_commit_message (msg, &ctx); 708 else 709 r = -1; 710 709 711 mx_close_message (&msg); 710 712 mx_close_mailbox (&ctx);
