summaryrefslogtreecommitdiffstats
path: root/mbbsd/pmore.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-30 18:08:49 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-30 18:08:49 +0800
commit5f589c904a3be5b6eaa5abd57052b481d6a24c18 (patch)
treeb58ee25144de9400bc84f164bbb1530ce44a3bee /mbbsd/pmore.c
parent19e36427e3fdfebc319fd7e0a92054ea9db85fd1 (diff)
downloadpttbbs-5f589c904a3be5b6eaa5abd57052b481d6a24c18.tar
pttbbs-5f589c904a3be5b6eaa5abd57052b481d6a24c18.tar.gz
pttbbs-5f589c904a3be5b6eaa5abd57052b481d6a24c18.tar.bz2
pttbbs-5f589c904a3be5b6eaa5abd57052b481d6a24c18.tar.lz
pttbbs-5f589c904a3be5b6eaa5abd57052b481d6a24c18.tar.xz
pttbbs-5f589c904a3be5b6eaa5abd57052b481d6a24c18.tar.zst
pttbbs-5f589c904a3be5b6eaa5abd57052b481d6a24c18.zip
* fix numlogindays
git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4799 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);