diff options
author | Rocco Rutte <pdmef@gmx.net> | 2009-06-21 21:57:28 +0200 |
---|---|---|
committer | Rocco Rutte <pdmef@gmx.net> | 2009-06-21 21:57:28 +0200 |
commit | 9dcf475e0d300bbfb90e66335c41c0035c2dcf37 (patch) | |
tree | 9b97eac65f005c49fe6981044923e500c608808e /handler.c | |
parent | 8e7eaed5716babc4b0af3daac7b9a4fd033c1013 (diff) |
Pass buffer size to mutt_mktemp()
Diffstat (limited to 'handler.c')
-rw-r--r-- | handler.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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!"); |