summaryrefslogtreecommitdiffstats
path: root/send.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-03-09 13:09:52 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-03-09 13:09:52 +0000
commitfd816365cb25c5ffd7c9df9a682a2acd15f23b1b (patch)
tree985049348bf45335f03b625b36e10fa1e590390b /send.c
parentf6b31275137596fae70cda1ea3f11104c23a953f (diff)
handler.c: Properly handle message/external-body expiry.
menu.c: Small fix from Liviu. send.c: Honor confirm_create for FCCs. cvs: ----------------------------------------------------------------------
Diffstat (limited to 'send.c')
-rw-r--r--send.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/send.c b/send.c
index e65f475c..363c1237 100644
--- a/send.c
+++ b/send.c
@@ -1255,12 +1255,22 @@ main_loop:
mutt_expand_path (fcc, sizeof (fcc));
if (*fcc && mutt_strcmp ("/dev/null", fcc) != 0)
{
+ struct stat st;
BODY *tmpbody = msg->content;
#ifdef _PGPPATH
BODY *save_sig = NULL;
BODY *save_parts = NULL;
#endif /* _PGPPATH */
+ /* honor $confirmcreate and $confirmappend in interactive mode */
+ if (!option (OPTNOCURSES) && !(flags & SENDMAILX) &&
+ !mutt_save_confirm (fcc, &st))
+ {
+ mutt_pretty_mailbox (fcc);
+ mutt_clear_error();
+ goto main_loop;
+ }
+
/* check to see if the user wants copies of all attachments */
if (!option (OPTFCCATTACH) && msg->content->type == TYPEMULTIPART)
{