X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/647ac5444d022537a1f0854dd309494c511dfe07..e0765f8ab8243c097213733be0d4be2a31448b89:/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;