diff options
Diffstat (limited to 'mbbsd/cache.c')
-rw-r--r-- | mbbsd/cache.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <stdio.h> #include <stdlib.h> #include <string.h> @@ -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)) |