summaryrefslogtreecommitdiffstats
path: root/util/util_cache.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-02-11 01:34:39 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-02-11 01:34:39 +0800
commit60e0f10f5a60bac35a3de3697e957319e7b5ddc1 (patch)
tree8d2fa2e2ee120d597cb4b7db3acee17b34adac77 /util/util_cache.c
parent1d568fe4bc5da1cc9a8f3f703fcdc0ac346d3a24 (diff)
downloadpttbbs-60e0f10f5a60bac35a3de3697e957319e7b5ddc1.tar
pttbbs-60e0f10f5a60bac35a3de3697e957319e7b5ddc1.tar.gz
pttbbs-60e0f10f5a60bac35a3de3697e957319e7b5ddc1.tar.bz2
pttbbs-60e0f10f5a60bac35a3de3697e957319e7b5ddc1.tar.lz
pttbbs-60e0f10f5a60bac35a3de3697e957319e7b5ddc1.tar.xz
pttbbs-60e0f10f5a60bac35a3de3697e957319e7b5ddc1.tar.zst
pttbbs-60e0f10f5a60bac35a3de3697e957319e7b5ddc1.zip
fix bug in resolve_board()
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@652 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/util_cache.c')
-rw-r--r--util/util_cache.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/util/util_cache.c b/util/util_cache.c
index 2426044c..ee6325c3 100644
--- a/util/util_cache.c
+++ b/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 <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -316,6 +316,9 @@ static void reload_bcache() {
if(SHM->Bbusystate) {
safe_sleep(1);
}
+ else{
+ SHM->Buptime = SHM->Btouchtime;
+ }
}
void resolve_boards() {