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