From 6ff0fa50367360a9590c76b392571550fc3d15f7 Mon Sep 17 00:00:00 2001 From: wens Date: Sun, 1 Mar 2009 12:15:42 +0000 Subject: remove my_ctime add ctime4_r git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4442 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/mbbsd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'mbbsd/mbbsd.c') 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(); -- cgit v1.2.3