X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=send.c;h=037c6604f9fe881bb78ffe3a932b6d7667697676;hp=f86d00c324331a21ef06aa39c1c5178508992eee;hb=9ed7a487e3a922f2cbb222961c2c9710c3a65f91;hpb=b62cf5fb77a75e17b176141d232655e5bd8b7fe1 diff --git a/send.c b/send.c index f86d00c..037c660 100644 --- a/send.c +++ b/send.c @@ -48,7 +48,7 @@ static void append_signature (FILE * f) else if (SignOffString) fputs ("\n", f); mutt_copy_stream (tmpfp, f); - fclose (tmpfp); + m_fclose(&tmpfp); if (thepid != -1) mutt_wait_filter (thepid); } @@ -986,12 +986,12 @@ static int send_message (HEADER * msg) fputc ('\n', tempfp); /* tie off the header. */ if ((mutt_write_mime_body (msg->content, tempfp) == -1)) { - fclose (tempfp); + m_fclose(&tempfp); unlink (tempfile); return (-1); } - if (fclose (tempfp) != 0) { + if (m_fclose(&tempfp) != 0) { mutt_perror (tempfile); unlink (tempfile); return (-1);