From: Wilfried Göesgens Date: Sun, 29 Aug 2010 16:55:50 +0000 (+0000) Subject: * print name of context instead of number into the error message. X-Git-Tag: v7.86~61 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=69d07d6f41b1c031d285203c515e07320f1718c2 * print name of context instead of number into the error message. (cherry picked from commit 3c4dab06dfa7658653d7aca0a4025a8c35dcc3bb) --- diff --git a/webcit/subst.c b/webcit/subst.c index c12b65908..20ff89bf7 100644 --- a/webcit/subst.c +++ b/webcit/subst.c @@ -2208,9 +2208,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 ; }