If we're going to call va_start again, we should call

va_end first.  This is a no-op on most platforms, though.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10671 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Jacques A. Vidrine
2001-09-07 20:28:10 +00:00
parent 4866b540c9
commit 10063c6282

View File

@@ -284,6 +284,7 @@ command (char *fmt,...)
printf("PASS XXXX");
else
vfprintf(stdout, fmt, ap);
va_end(ap);
va_start(ap, fmt);
}
sec_vfprintf(cout, fmt, ap);