From: Wilfried Göesgens Date: Sun, 24 Aug 2008 23:04:15 +0000 (+0000) Subject: * fix some hickups in subst X-Git-Tag: v7.86~2002 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=04c34fd0dbec4fecf53de78e7be4b5662af71eae;p=citadel.git * fix some hickups in subst * add wholist section template --- 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);