summaryrefslogtreecommitdiffstats
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
commit8e17d57f61a19c92cff08e7cd16c245091d82c08 (patch)
treea0ca02ee83437ae71b603eeddc4046d55c02effc
parent048cae8a45503b416403a909c5ca031c8a5ba54a (diff)
downloadpttbbs-8e17d57f61a19c92cff08e7cd16c245091d82c08.tar
pttbbs-8e17d57f61a19c92cff08e7cd16c245091d82c08.tar.gz
pttbbs-8e17d57f61a19c92cff08e7cd16c245091d82c08.tar.bz2
pttbbs-8e17d57f61a19c92cff08e7cd16c245091d82c08.tar.lz
pttbbs-8e17d57f61a19c92cff08e7cd16c245091d82c08.tar.xz
pttbbs-8e17d57f61a19c92cff08e7cd16c245091d82c08.tar.zst
pttbbs-8e17d57f61a19c92cff08e7cd16c245091d82c08.zip
fix bug in resolve_board()
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@652 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/util/util_cache.c5
1 files changed, 4 insertions, 1 deletions
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 <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() {