git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19839 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-01-11 09:55:09 +00:00
parent 396d442179
commit 82a45c7036
5 changed files with 9 additions and 8 deletions

View File

@@ -128,7 +128,8 @@ void
hx509_err(hx509_context context, int exit_code, int error_code, char *fmt, ...)
{
va_list ap;
char *msg, *str;
const char *msg;
char *str;
va_start(ap, fmt);
vasprintf(&str, fmt, ap);