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 /crypt.c | |
parent | 8e7eaed5716babc4b0af3daac7b9a4fd033c1013 (diff) |
Pass buffer size to mutt_mktemp()
Diffstat (limited to 'crypt.c')
-rw-r--r-- | crypt.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -593,7 +593,7 @@ void crypt_extract_keys_from_messages (HEADER * h) if (!WithCrypto) return; - mutt_mktemp (tempfname); + mutt_mktemp (tempfname, sizeof (tempfname)); if (!(fpout = safe_fopen (tempfname, "w"))) { mutt_perror (tempfname); @@ -844,7 +844,7 @@ int mutt_signed_handler (BODY *a, STATE *s) if (sigcnt) { - mutt_mktemp (tempfile); + mutt_mktemp (tempfile, sizeof (tempfile)); if (crypt_write_signed (a, s, tempfile) == 0) { for (i = 0; i < sigcnt; i++) |