summaryrefslogtreecommitdiffstats
path: root/headers.c
diff options
context:
space:
mode:
Diffstat (limited to 'headers.c')
-rw-r--r--headers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/headers.c b/headers.c
index 5d22489f..72ee3eb2 100644
--- a/headers.c
+++ b/headers.c
@@ -44,7 +44,7 @@ void mutt_edit_headers (const char *editor,
struct stat st;
LIST *cur, **last = NULL, *tmp;
- mutt_mktemp (path);
+ mutt_mktemp (path, sizeof (path));
if ((ofp = safe_fopen (path, "w")) == NULL)
{
mutt_perror (path);