projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0593522
)
* 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 Goesgens
<dothebart@citadel.org>
Wed, 1 Sep 2010 22:24:39 +0000
(
00:24
+0200)
(cherry picked from commit
3c4dab06dfa7658653d7aca0a4025a8c35dcc3bb
)
webcit/subst.c
patch
|
blob
|
history
diff --git
a/webcit/subst.c
b/webcit/subst.c
index c12b6590832156be1ee31611d45b6dba4679cd10..20ff89bf7654185354f269046cf237fb119ba403 100644
(file)
--- 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 ;
}