summaryrefslogtreecommitdiffstats
path: root/mbbsd/pmore.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-10 18:05:12 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-10 18:05:12 +0800
commit0a50f91422cc78e215c541d08dbf30fdeb91477c (patch)
tree9b09fa98181fe6ef345109eb0c279d3628889c09 /mbbsd/pmore.c
parent78a17f4498134b9db1fc95e7be14798422475475 (diff)
parentf115309f094fb58ce49a14a24d58144aa13d3e5c (diff)
downloadpttbbs-0a50f91422cc78e215c541d08dbf30fdeb91477c.tar
pttbbs-0a50f91422cc78e215c541d08dbf30fdeb91477c.tar.gz
pttbbs-0a50f91422cc78e215c541d08dbf30fdeb91477c.tar.bz2
pttbbs-0a50f91422cc78e215c541d08dbf30fdeb91477c.tar.lz
pttbbs-0a50f91422cc78e215c541d08dbf30fdeb91477c.tar.xz
pttbbs-0a50f91422cc78e215c541d08dbf30fdeb91477c.tar.zst
pttbbs-0a50f91422cc78e215c541d08dbf30fdeb91477c.zip
* make pwcu branch as trunk.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4826 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/pmore.c')
-rw-r--r--mbbsd/pmore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c
index 1968f557..4304b55e 100644
--- a/mbbsd/pmore.c
+++ b/mbbsd/pmore.c
@@ -594,7 +594,7 @@ expand_esc_star(char *buf, const char *src, int szbuf)
strlcpy(buf, cuser.userid, szbuf);
return 2;
case 'l': // current user logins
- snprintf(buf, szbuf, "%d", cuser.numlogins);
+ snprintf(buf, szbuf, "%d", cuser.numlogindays);
return 2;
case 'p': // current user posts
snprintf(buf, szbuf, "%d", cuser.numposts);