out = m_tempfile(tmpf, sizeof(tmpf), NONULL(Tempdir), NULL);
if (!out) {
out = m_tempfile(tmpf, sizeof(tmpf), NONULL(Tempdir), NULL);
if (!out) {
mutt_set_mtime (hdr->content->filename, tmpf);
unlink (hdr->content->filename);
m_strreplace(&hdr->content->filename, tmpf);
mutt_set_mtime (hdr->content->filename, tmpf);
unlink (hdr->content->filename);
m_strreplace(&hdr->content->filename, tmpf);