summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-06-17 17:58:21 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-06-17 17:58:21 +0800
commit975001363819b98425a48a6b5fc86b8572546c91 (patch)
tree61034172737598d3e2511486f5e60e8b55e66d9c
parented870cef48392b5006d413b043589eb866988a87 (diff)
downloadpttbbs-975001363819b98425a48a6b5fc86b8572546c91.tar
pttbbs-975001363819b98425a48a6b5fc86b8572546c91.tar.gz
pttbbs-975001363819b98425a48a6b5fc86b8572546c91.tar.bz2
pttbbs-975001363819b98425a48a6b5fc86b8572546c91.tar.lz
pttbbs-975001363819b98425a48a6b5fc86b8572546c91.tar.xz
pttbbs-975001363819b98425a48a6b5fc86b8572546c91.tar.zst
pttbbs-975001363819b98425a48a6b5fc86b8572546c91.zip
ctime4() instead of ctime()
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3543 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/talk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index d8972482..e2a5ba30 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -3276,7 +3276,7 @@ t_changeangel(){
if (buf[0] == 'y' || buf[0] == 'Y') {
char buf[100];
snprintf(buf, sizeof(buf), "%s小主人 %s 換掉 %s 小天使\n",
- ctime(&now), cuser.userid, cuser.myangel);
+ ctime4(&now), cuser.userid, cuser.myangel);
buf[24] = ' '; // replace '\n'
log_file(BBSHOME "/log/changeangel.log", LOG_CREAT, buf);