summaryrefslogtreecommitdiffstats
path: root/send.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-10-27 09:41:13 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-10-27 09:41:13 +0000
commit06208d7a67fca765d82919a586ceb5ad2a671f73 (patch)
tree512f9b54f00982227a60c2afbb20c95fe342e3d7 /send.c
parent015b86fd14297a6c1b1d9b6f10529edc96dc4d0a (diff)
Preserve FCC headers when postponing. From Vikas.
Diffstat (limited to 'send.c')
-rw-r--r--send.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/send.c b/send.c
index c90b0aa9..7f9d06c9 100644
--- a/send.c
+++ b/send.c
@@ -888,7 +888,7 @@ ci_send_message (int flags, /* send mode */
}
else if (flags == SENDPOSTPONED)
{
- if ((flags = mutt_get_postponed (ctx, msg, &cur)) < 0)
+ if ((flags = mutt_get_postponed (ctx, msg, &cur, fcc, sizeof (fcc))) < 0)
goto cleanup;
}
@@ -1136,7 +1136,7 @@ main_loop:
/* postpone the message until later. */
if (msg->content->next)
msg->content = mutt_make_multipart (msg->content);
- if (!Postponed || mutt_write_fcc (NONULL (Postponed), msg, (cur && (flags & SENDREPLY)) ? cur->env->message_id : NULL, 1) < 0)
+ if (!Postponed || mutt_write_fcc (NONULL (Postponed), msg, (cur && (flags & SENDREPLY)) ? cur->env->message_id : NULL, 1, fcc) < 0)
{
msg->content = mutt_remove_multipart (msg->content);
goto main_loop;
@@ -1276,7 +1276,7 @@ main_loop:
full_fcc:
#endif /* _PGPPATH */
if (msg->content)
- mutt_write_fcc (fcc, msg, NULL, 0);
+ mutt_write_fcc (fcc, msg, NULL, 0, NULL);
msg->content = tmpbody;
#ifdef _PGPPATH