X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=recvcmd.c;h=71fc95b8988ed27215ea8ca76cd0f246c4f6c702;hp=e4db1d8fe4f664011af29b90304a40277186eefe;hb=6eb22b54ec44fd63bea311f472c9aadc7176c230;hpb=15d63145b9f11a1fa58c74abbeab7533ea2e5d21 diff --git a/recvcmd.c b/recvcmd.c index e4db1d8..71fc95b 100644 --- a/recvcmd.c +++ b/recvcmd.c @@ -440,7 +440,7 @@ static void attach_forward_bodies (FILE * fp, HEADER * hdr, tmphdr->env = envelope_new(); mutt_make_forward_subject (tmphdr->env, Context, parent); - tmpfp = m_tempfile(tmpbody, sizeof(tmpbody), NONULL(Tempdir), NULL); + tmpfp = m_tempfile(tmpbody, sizeof(tmpbody), NONULL(MCore.tmpdir), NULL); if (!tmpfp) { mutt_error(_("Could not create temporary file")); return; @@ -602,7 +602,7 @@ static void attach_forward_msgs (FILE * fp, HEADER * hdr __attribute__ ((unused) /* no MIME encapsulation */ - tmpfp = m_tempfile(tmpbody, sizeof(tmpbody), NONULL(Tempdir), NULL); + tmpfp = m_tempfile(tmpbody, sizeof(tmpbody), NONULL(MCore.tmpdir), NULL); if (!tmpfp) { mutt_error(_("Could not create temporary file")); header_delete(&tmphdr); @@ -794,7 +794,6 @@ static void attach_include_reply (FILE * fp, FILE * tmpfp, HEADER * cur, } _mutt_copy_message (tmpfp, fp, cur, cur->content, cmflags, chflags); - mutt_make_post_indent (Context, cur, tmpfp); } void mutt_attach_reply (FILE * fp, HEADER * hdr, @@ -850,7 +849,7 @@ void mutt_attach_reply (FILE * fp, HEADER * hdr, return; } - tmpfp = m_tempfile(tmpbody, sizeof(tmpbody), NONULL(Tempdir), NULL); + tmpfp = m_tempfile(tmpbody, sizeof(tmpbody), NONULL(MCore.tmpdir), NULL); if (!tmpfp) { mutt_error(_("Could not create temporary file")); header_delete(&tmphdr); @@ -906,8 +905,6 @@ void mutt_attach_reply (FILE * fp, HEADER * hdr, } } - mutt_make_post_indent (Context, parent, tmpfp); - if (mime_reply_any && !cur && copy_problematic_attachments (fp, &tmphdr->content, idx, idxlen, 0) == NULL) {