From 04c34fd0dbec4fecf53de78e7be4b5662af71eae Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Sun, 24 Aug 2008 23:04:15 +0000 Subject: [PATCH] * fix some hickups in subst * add wholist section template --- webcit/static/t/whosection.html | 85 +++++++++++++++++++++++++++++++++ webcit/subst.c | 2 +- 2 files changed, 86 insertions(+), 1 deletion(-) create mode 100644 webcit/static/t/whosection.html diff --git a/webcit/static/t/whosection.html b/webcit/static/t/whosection.html new file mode 100644 index 000000000..9947713de --- /dev/null +++ b/webcit/static/t/whosection.html @@ -0,0 +1,85 @@ + + + + + + + + + + + + () + + + + + + +"> + (p) + + + + + + +(<?_(s )" border="0" /> + + +(<?_()" border="0" /> + + + + +"> + +[] + + + + + + +
+ + + + + + + + + +
+ + + + + diff --git a/webcit/subst.c b/webcit/subst.c index 215515ea3..74a95068d 100644 --- a/webcit/subst.c +++ b/webcit/subst.c @@ -410,7 +410,7 @@ void print_value_of(StrBuf *Target, const char *keyname, size_t keylen) { StrBufAppendBuf(Target, (StrBuf*) ptr->wcs_function, 0); break; case WCS_LONG: - StrBufAppendPrintf(Target, "%l", ptr->lvalue); + StrBufAppendPrintf(Target, "%ld", ptr->lvalue); break; default: lprintf(1,"WARNING: invalid value in SV-Hash at %s!", keyname); -- 2.39.2