projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9c3cabd
)
Fixed the version number display in the template
author
Art Cancro
<ajc@citadel.org>
Tue, 3 May 2016 03:36:20 +0000
(23:36 -0400)
committer
Art Cancro
<ajc@citadel.org>
Tue, 3 May 2016 03:36:20 +0000
(23:36 -0400)
webcit/serv_func.c
patch
|
blob
|
history
diff --git
a/webcit/serv_func.c
b/webcit/serv_func.c
index b0427be542e162b70fe7beebaf82939936309537..bff64e9e3373993fd08827960bee66aceba72017 100644
(file)
--- a/
webcit/serv_func.c
+++ b/
webcit/serv_func.c
@@
-502,12
+502,8
@@
void tmplput_serv_software(StrBuf *Target, WCTemplputParams *TP)
void tmplput_serv_rev_level(StrBuf *Target, WCTemplputParams *TP)
{
void tmplput_serv_rev_level(StrBuf *Target, WCTemplputParams *TP)
{
- wcsession *WCC = WC;
- if (WCC->serv_info == NULL)
- return;
- StrBufAppendPrintf(Target, "%d.%02d",
- WCC->serv_info->serv_rev_level / 100,
- WCC->serv_info->serv_rev_level % 100);
+ if (WC->serv_info == NULL) return;
+ StrBufAppendPrintf(Target, "%d", WC->serv_info->serv_rev_level);
}
int conditional_serv_newuser_disabled(StrBuf *Target, WCTemplputParams *TP)
{
}
int conditional_serv_newuser_disabled(StrBuf *Target, WCTemplputParams *TP)
{