diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-02-11 01:34:39 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-02-11 01:34:39 +0800 |
commit | 60e0f10f5a60bac35a3de3697e957319e7b5ddc1 (patch) | |
tree | 8d2fa2e2ee120d597cb4b7db3acee17b34adac77 /util/util_cache.c | |
parent | 1d568fe4bc5da1cc9a8f3f703fcdc0ac346d3a24 (diff) | |
download | pttbbs-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.c | 5 |
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() { |