projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fclose -> m_fclose
[apps/madmutt.git]
/
send.c
diff --git
a/send.c
b/send.c
index
f86d00c
..
037c660
100644
(file)
--- 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);
else if (SignOffString)
fputs ("\n", f);
mutt_copy_stream (tmpfp, f);
-
fclose (
tmpfp);
+
m_fclose(&
tmpfp);
if (thepid != -1)
mutt_wait_filter (thepid);
}
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)) {
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);
}
unlink (tempfile);
return (-1);
}
- if (
fclose (
tempfp) != 0) {
+ if (
m_fclose(&
tempfp) != 0) {
mutt_perror (tempfile);
unlink (tempfile);
return (-1);
mutt_perror (tempfile);
unlink (tempfile);
return (-1);