From aaf8aff1c6b52d4f902d44ad642449c56a75f865 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 16 Nov 2006 15:08:09 +0000 Subject: [PATCH] (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 --- lib/hx509/error.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/hx509/error.c b/lib/hx509/error.c index 6c0f1ba11..8c357edba 100644 --- a/lib/hx509/error.c +++ b/lib/hx509/error.c @@ -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); }