Use m_tempfile instead of mutt_mktemp (again and again)
[apps/madmutt.git] / postpone.c
index 4f57af2..fd06b62 100644 (file)
@@ -622,7 +622,7 @@ int mutt_prepare_template (FILE * fp, CONTEXT * ctx, HEADER * newhdr,
     else
       mutt_decode_attachment (b, &s);
 
-    if (safe_fclose (&s.fpout) != 0)
+    if (m_fclose(&s.fpout) != 0)
       goto bail;
 
     m_strreplace(&b->filename, file);