/* Remove headers by copying out data to another file, then
* copying the file back */
fseeko (fp, b->offset, 0);
- mutt_mktemp (tempfile);
+ mutt_mktemp (tempfile, sizeof (tempfile));
if ((tfp = safe_fopen (tempfile, "w")) == NULL)
{
mutt_perror _("Failure to open file to strip headers.");
mutt_adv_mktemp (pagerfile, sizeof(pagerfile));
}
else
- mutt_mktemp (pagerfile);
+ mutt_mktemp (pagerfile, sizeof (pagerfile));
}
if (use_mailcap)
/* Ok, the difference between send and receive:
* recv: BODY->filename is a suggested name, and Context|HEADER points
- * to the attachment in mailbox which is encooded
+ * to the attachment in mailbox which is encoded
* send: BODY->filename points to the un-encoded file which contains the
* attachment
*/
ifp = NULL;
fpout = NULL;
- mutt_mktemp (newfile);
+ mutt_mktemp (newfile, sizeof (newfile));
if (mutt_decode_save_attachment (fp, a, newfile, M_PRINTING, 0) == 0)
{