summaryrefslogtreecommitdiffstats
path: root/handler.c
diff options
context:
space:
mode:
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!");