diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-05-08 15:59:32 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-05-08 15:59:32 +0800 |
commit | 133c8925067a703dfef58607fd2ca636fa3b2922 (patch) | |
tree | deb7f25fdecaaba2f7dc6c57023fb97a79325ca8 /mbbsd/cal.c | |
parent | ba4849655123ccf17feb52aea447a4b52a114928 (diff) | |
download | pttbbs-133c8925067a703dfef58607fd2ca636fa3b2922.tar pttbbs-133c8925067a703dfef58607fd2ca636fa3b2922.tar.gz pttbbs-133c8925067a703dfef58607fd2ca636fa3b2922.tar.bz2 pttbbs-133c8925067a703dfef58607fd2ca636fa3b2922.tar.lz pttbbs-133c8925067a703dfef58607fd2ca636fa3b2922.tar.xz pttbbs-133c8925067a703dfef58607fd2ca636fa3b2922.tar.zst pttbbs-133c8925067a703dfef58607fd2ca636fa3b2922.zip |
- (internal) replace ctime4 by Cdate, prevent developer confused by the the trailing '\n'.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4278 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/cal.c')
-rw-r--r-- | mbbsd/cal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c index 5e75e85d..4cacb91a 100644 --- a/mbbsd/cal.c +++ b/mbbsd/cal.c @@ -389,8 +389,8 @@ int do_give_money(char *id, int uid, int money) // 實際給予金錢。 deumoney(uid, money - tax); demoney(-money); - log_filef(FN_MONEY, LOG_CREAT, "%-12s 給 %-12s %d\t(稅後 %d)\t%s", - cuser.userid, id, money, money - tax, ctime4(&now)); + log_filef(FN_MONEY, LOG_CREAT, "%-12s 給 %-12s %d\t(稅後 %d)\t%s\n", + cuser.userid, id, money, money - tax, Cdate(&now)); // penalty if (money < 50) { @@ -610,7 +610,7 @@ p_sysinfo(void) #ifdef DETECT_CLIENT client_code, #endif - compile_time, ctime4(&start_time)); + compile_time, Cdatelite(&start_time)); #ifdef REPORT_PIAIP_MODULES outs("\n" ANSI_COLOR(1;30) |