(hx509_get_error_string): Put ", " between strings in error message.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19061 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-11-16 15:08:09 +00:00
parent 210162ce80
commit aaf8aff1c6

View File

@@ -118,7 +118,8 @@ hx509_get_error_string(hx509_context context, int error_code)
}
for (msg = context->error; msg; msg = msg->next)
p = rk_strpoolprintf(p, "%s", msg->msg);
p = rk_strpoolprintf(p, "%s%s", msg->msg,
msg->next != NULL ? "; " : "");
return rk_strpoolcollect(p);
}