summaryrefslogtreecommitdiffstats
path: root/sendlib.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-07-01 09:45:12 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-07-01 09:45:12 +0000
commit32016c8f74f4914c71e2c006c82ab7a6c7ddebd6 (patch)
tree3bc556f813a6d8377bddefaf21c36621d56928a0 /sendlib.c
parentedfda8e884b92c31e0fe1c9a27cc32077862059f (diff)
Various patches from last week, including:
- new mh/maildir access code. - subscribe/unsubscribe - various fixes.
Diffstat (limited to 'sendlib.c')
-rw-r--r--sendlib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sendlib.c b/sendlib.c
index fa4ffce4..773975b1 100644
--- a/sendlib.c
+++ b/sendlib.c
@@ -2009,6 +2009,7 @@ int mutt_write_fcc (const char *path, HEADER *hdr, const char *msgid, int post,
dprint (1, (debugfile, "mutt_write_fcc(): %s: write failed.\n", tempfile));
fclose (tempfp);
unlink (tempfile);
+ mx_commit_message (msg, &f); /* XXX - really? */
mx_close_message (&msg);
mx_close_mailbox (&f);
return -1;
@@ -2036,6 +2037,7 @@ int mutt_write_fcc (const char *path, HEADER *hdr, const char *msgid, int post,
r = mutt_write_mime_body (hdr->content, msg->fp);
}
+ mx_commit_message (msg, &f);
mx_close_message (&msg);
mx_close_mailbox (&f);