diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-02-02 10:58:28 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-02-02 10:58:28 +0000 |
commit | 646c7e6e33c30ab2acae340db753b2de6177bbaa (patch) | |
tree | d6b6f61833cfa9962b7d4f6365129d465e240f72 /copy.c | |
parent | 2a976c1aa47318aa8d55baabce9f36658b9accb0 (diff) |
[unstable] merging Brandon's imap fixes.
Diffstat (limited to 'copy.c')
-rw-r--r-- | copy.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -593,7 +593,8 @@ _mutt_append_message (CONTEXT *dest, FILE *fpin, CONTEXT *src, HEADER *hdr, chflags |= CH_FROM; chflags |= (dest->magic == M_MAILDIR ? CH_NOSTATUS : CH_UPDATE); r = _mutt_copy_message (msg->fp, fpin, hdr, body, flags, chflags); - mx_close_message (&msg); + if (mx_close_message (&msg) != 0) + return (-1); return r; } |