summaryrefslogtreecommitdiffstats
path: root/handler.c
diff options
context:
space:
mode:
authorRocco Rutte <pdmef@gmx.net>2009-06-21 21:57:28 +0200
committerRocco Rutte <pdmef@gmx.net>2009-06-21 21:57:28 +0200
commit9dcf475e0d300bbfb90e66335c41c0035c2dcf37 (patch)
tree9b97eac65f005c49fe6981044923e500c608808e /handler.c
parent8e7eaed5716babc4b0af3daac7b9a4fd033c1013 (diff)
Pass buffer size to mutt_mktemp()
Diffstat (limited to 'handler.c')
-rw-r--r--handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/handler.c b/handler.c
index 49e74ab5..25e1a0d3 100644
--- a/handler.c
+++ b/handler.c
@@ -1644,7 +1644,7 @@ int mutt_body_handler (BODY *b, STATE *s)
{
/* decode to a tempfile, saving the original destination */
fp = s->fpout;
- mutt_mktemp (tempfile);
+ mutt_mktemp (tempfile, sizeof (tempfile));
if ((s->fpout = safe_fopen (tempfile, "w")) == NULL)
{
mutt_error _("Unable to open temporary file!");