summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-03-01 20:15:42 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-03-01 20:15:42 +0800
commit6ff0fa50367360a9590c76b392571550fc3d15f7 (patch)
tree5679f1417ed114b8060e5efde6bdf28c9278edf6 /mbbsd/mbbsd.c
parentb845233c50d73dfca2f0e91a7bdc2c480ed5753c (diff)
downloadpttbbs-6ff0fa50367360a9590c76b392571550fc3d15f7.tar
pttbbs-6ff0fa50367360a9590c76b392571550fc3d15f7.tar.gz
pttbbs-6ff0fa50367360a9590c76b392571550fc3d15f7.tar.bz2
pttbbs-6ff0fa50367360a9590c76b392571550fc3d15f7.tar.lz
pttbbs-6ff0fa50367360a9590c76b392571550fc3d15f7.tar.xz
pttbbs-6ff0fa50367360a9590c76b392571550fc3d15f7.tar.zst
pttbbs-6ff0fa50367360a9590c76b392571550fc3d15f7.zip
remove my_ctime
add ctime4_r git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4442 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 3793ef96..0b72cae7 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -343,13 +343,11 @@ talk_request(int sig)
bell();
bell();
if (currutmp->msgcount) {
- char timebuf[100];
-
syncnow();
move(0, 0);
clrtoeol();
prints(ANSI_COLOR(33;41) "★%s" ANSI_COLOR(34;47) " [%s] %s " ANSI_COLOR(0) "",
- SHM->uinfo[currutmp->destuip].userid, my_ctime(&now,timebuf,sizeof(timebuf)),
+ SHM->uinfo[currutmp->destuip].userid, Cdatelite(&now),
(currutmp->sig == 2) ? "重要消息廣播!(請Ctrl-U,l查看熱訊記錄)"
: "呼叫、呼叫,聽到請回答");
refresh();