projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b05f2b2
)
* print name of context instead of number into the error message.
author
Wilfried Göesgens
<willi@citadel.org>
Sun, 29 Aug 2010 16:55:50 +0000
(16:55 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Sun, 29 Aug 2010 16:55:50 +0000
(16:55 +0000)
webcit/subst.c
patch
|
blob
|
history
diff --git
a/webcit/subst.c
b/webcit/subst.c
index 5fff6349a8993b57bbae1568c3db8d9a4005ed8c..1807211afc3278154c21e25a97615bebf1b068a2 100644
(file)
--- 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 ;
}