X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/44c01adf506b1087bff724dcb65b92a12b012836..ee66c1452ad6f627879c9ec8156342f5e90c2253:/history.c?ds=sidebyside diff --git a/history.c b/history.c index 6852816..9efbdb4 100644 --- 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;