diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-01-25 12:36:25 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-01-25 12:36:25 +0800 |
commit | 78bb7c4b8790fc1b5f47adb84a8b228fb65b3a88 (patch) | |
tree | 437f96f3c6e2547b8b816d77ecd9337aadadf048 /mbbsd/chicken.c | |
parent | 73bf6bd6489ef38af4df15ab768bc50744785fdf (diff) | |
download | pttbbs-78bb7c4b8790fc1b5f47adb84a8b228fb65b3a88.tar pttbbs-78bb7c4b8790fc1b5f47adb84a8b228fb65b3a88.tar.gz pttbbs-78bb7c4b8790fc1b5f47adb84a8b228fb65b3a88.tar.bz2 pttbbs-78bb7c4b8790fc1b5f47adb84a8b228fb65b3a88.tar.lz pttbbs-78bb7c4b8790fc1b5f47adb84a8b228fb65b3a88.tar.xz pttbbs-78bb7c4b8790fc1b5f47adb84a8b228fb65b3a88.tar.zst pttbbs-78bb7c4b8790fc1b5f47adb84a8b228fb65b3a88.zip |
use ctime4 for compat on x86_64
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2430 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/chicken.c')
-rw-r--r-- | mbbsd/chicken.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mbbsd/chicken.c b/mbbsd/chicken.c index 6881a9dc..05f857cc 100644 --- a/mbbsd/chicken.c +++ b/mbbsd/chicken.c @@ -137,7 +137,7 @@ new_chicken() log_file(CHICKENLOG, LOG_CREAT | LOG_VF, "\033[31m%s \033[m養了一隻叫\033[33m %s \033[m的 " "\033[32m%s\033[m 於 %s\n", cuser.userid, - mychicken->name, chicken_type[(int)mychicken->type], Cdate(&now)); + mychicken->name, chicken_type[(int)mychicken->type], ctime4(&now)); mychicken->lastvisit = mychicken->birthday = mychicken->cbirth = now; mychicken->food = 0; mychicken->weight = time_change[(int)mychicken->type][WEIGHT] / 3; @@ -431,7 +431,7 @@ ch_kill() log_file(CHICKENLOG, LOG_CREAT | LOG_VF, "\033[31m%s \033[m把 \033[33m%s\033[m\033[32m %s " "\033[m宰了 於 %s\n", cuser.userid, mychicken->name, - chicken_type[(int)mychicken->type], Cdate(&now)); + chicken_type[(int)mychicken->type], ctime4(&now)); mychicken->name[0] = 0; } } @@ -489,7 +489,7 @@ ch_sell() "\033[31m%s\033[m 把 \033[33m%s\033[m " "\033[32m%s\033[m 用 \033[36m%d\033[m 賣了 於 %s\n", cuser.userid, mychicken->name, - chicken_type[(int)mychicken->type], money, Cdate(&now)); + chicken_type[(int)mychicken->type], money, ctime4(&now)); mychicken->lastvisit = mychicken->name[0] = 0; passwd_update(usernum, &cuser); more(CHICKEN_PIC "/sell", YEA); @@ -645,7 +645,7 @@ deadtype(chicken_t * thechicken) log_file(CHICKENLOG, LOG_CREAT | LOG_VF, "\033[31m%s\033[m 所疼愛的\033[33m %s\033[32m %s " "\033[m掛了 於 %s\n", cuser.userid, thechicken->name, - chicken_type[(int)thechicken->type], Cdate(&now)); + chicken_type[(int)thechicken->type], ctime4(&now)); mychicken->name[0] = 0; passwd_update(usernum, &cuser); } @@ -703,7 +703,7 @@ ch_changename() "\033[31m%s\033[m 把疼愛的\033[33m %s\033[32m %s " "\033[m改名為\033[33m %s\033[m 於 %s\n", cuser.userid, mychicken->name, - chicken_type[(int)mychicken->type], newname, Cdate(&now)); + chicken_type[(int)mychicken->type], newname, ctime4(&now)); } } |