]> git.llucax.com Git - software/mutt-debian.git/blobdiff - history.c
adding the upstream bugs in the patch descriptions
[software/mutt-debian.git] / history.c
index 68528163db423d5787cb3fc48d368187a040aeaa..9efbdb47d4ad88546835f7071a25f38fc378c437 100644 (file)
--- a/history.c
+++ b/history.c
@@ -123,7 +123,7 @@ static void shrink_histfile (void)
   for(hclass = HC_FIRST; hclass < HC_LAST; hclass++)
     if (n[hclass] > SaveHist)
     {
-      mutt_mktemp (tmpfname);
+      mutt_mktemp (tmpfname, sizeof (tmpfname));
       if ((tmp = safe_fopen (tmpfname, "w+")) == NULL)
         mutt_perror (tmpfname);
       break;