From 772191eebf6a62b3fe9de2482c910de8c79000d5 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 5 Sep 2001 22:32:47 +0000 Subject: make sure that va_start() has matching va_end() --- gnu/usr.sbin/sendmail/mail.local/mail.local.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu/usr.sbin/sendmail') diff --git a/gnu/usr.sbin/sendmail/mail.local/mail.local.c b/gnu/usr.sbin/sendmail/mail.local/mail.local.c index 5b346d565d3..971273a12f0 100644 --- a/gnu/usr.sbin/sendmail/mail.local/mail.local.c +++ b/gnu/usr.sbin/sendmail/mail.local/mail.local.c @@ -1442,6 +1442,7 @@ mailerr(hdr, fmt, va_alist) } } (void) vsnprintf(&ErrBuf[len], sizeof ErrBuf - len, fmt, ap); + va_end(ap); if (!HoldErrs) flush_error(); -- cgit v1.2.3