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 /pop.c | |
parent | 8e7eaed5716babc4b0af3daac7b9a4fd033c1013 (diff) |
Pass buffer size to mutt_mktemp()
Diffstat (limited to 'pop.c')
-rw-r--r-- | pop.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -67,7 +67,7 @@ static int pop_read_header (POP_DATA *pop_data, HEADER *h) char buf[LONG_STRING]; char tempfile[_POSIX_PATH_MAX]; - mutt_mktemp (tempfile); + mutt_mktemp (tempfile, sizeof (tempfile)); if (!(f = safe_fopen (tempfile, "w+"))) { mutt_perror (tempfile); @@ -568,7 +568,7 @@ int pop_fetch_message (MESSAGE* msg, CONTEXT* ctx, int msgno) { /* no */ bcache = 0; - mutt_mktemp (path); + mutt_mktemp (path, sizeof (path)); if (!(msg->fp = safe_fopen (path, "w+"))) { mutt_perror (path); |