From 8d2eccd564b1a85bbc26153a3011a78797d2ae12 Mon Sep 17 00:00:00 2001 From: ptt Date: Mon, 13 May 2002 05:22:51 +0000 Subject: =?UTF-8?q?=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@164 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/cache.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mbbsd/cache.c b/mbbsd/cache.c index a2d1c98a..9d7162fc 100644 --- a/mbbsd/cache.c +++ b/mbbsd/cache.c @@ -1,4 +1,4 @@ -/* $Id: cache.c,v 1.23 2002/05/13 03:20:04 ptt Exp $ */ +/* $Id: cache.c,v 1.24 2002/05/13 05:22:51 ptt Exp $ */ #include #include #include @@ -377,6 +377,7 @@ static int cmputmpuid(const void *i, const void *j){ void sort_utmp() { int count, i, ns; + time_t now= time(0); userinfo_t *uentp; if(now-utmpshm->uptime<60 && (now==utmpshm->uptime || utmpshm->busystate)) -- cgit v1.2.3