X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fsubst.c;h=1807211afc3278154c21e25a97615bebf1b068a2;hb=3c4dab06dfa7658653d7aca0a4025a8c35dcc3bb;hp=5fff6349a8993b57bbae1568c3db8d9a4005ed8c;hpb=b05f2b289abc380125e4074920a18d9f89d179d0;p=citadel.git 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 ; }