From 8e17d57f61a19c92cff08e7cd16c245091d82c08 Mon Sep 17 00:00:00 2001 From: in2 Date: Mon, 10 Feb 2003 17:34:39 +0000 Subject: fix bug in resolve_board() git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@652 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/util/util_cache.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pttbbs/util/util_cache.c b/pttbbs/util/util_cache.c index 2426044c..ee6325c3 100644 --- a/pttbbs/util/util_cache.c +++ b/pttbbs/util/util_cache.c @@ -1,4 +1,4 @@ -/* $Id: util_cache.c,v 1.8 2002/06/30 16:06:43 in2 Exp $ */ +/* $Id: util_cache.c,v 1.9 2003/02/10 17:34:39 in2 Exp $ */ #include #include #include @@ -316,6 +316,9 @@ static void reload_bcache() { if(SHM->Bbusystate) { safe_sleep(1); } + else{ + SHM->Buptime = SHM->Btouchtime; + } } void resolve_boards() { -- cgit v1.2.3