From 3c4dab06dfa7658653d7aca0a4025a8c35dcc3bb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Sun, 29 Aug 2010 16:55:50 +0000 Subject: [PATCH] * print name of context instead of number into the error message. --- webcit/subst.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webcit/subst.c b/webcit/subst.c index 5fff6349a..1807211af 100644 --- a/webcit/subst.c +++ b/webcit/subst.c @@ -2316,9 +2316,9 @@ void tmpl_iterate_subtmpl(StrBuf *Target, WCTemplputParams *TP) (It->XPectContextType != TP->Filter.ContextType)) { LogTemplateError( Target, "Iterator", ERR_PARM1, TP, - "requires context of type %d, have %d", - It->XPectContextType, - TP->Filter.ContextType); + "requires context of type %s, have %s", + ContextName(It->XPectContextType), + ContextName(TP->Filter.ContextType)); return ; } -- 2.30.2