summaryrefslogtreecommitdiff
path: root/gnu/usr.sbin/sendmail
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-09-05 22:32:47 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-09-05 22:32:47 +0000
commit772191eebf6a62b3fe9de2482c910de8c79000d5 (patch)
treeeea109f48afccf4e7cab1ea695e65fec36d1cf5e /gnu/usr.sbin/sendmail
parenta30f0def118756a387cba2c5eac41a702277da77 (diff)
make sure that va_start() has matching va_end()
Diffstat (limited to 'gnu/usr.sbin/sendmail')
-rw-r--r--gnu/usr.sbin/sendmail/mail.local/mail.local.c1
1 files changed, 1 insertions, 0 deletions
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();