summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/pttstruct.h4
-rw-r--r--mbbsd/cache.c3
2 files changed, 3 insertions, 4 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 1fb3fc24..d2d5f59e 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -1,4 +1,4 @@
-/* $Id: pttstruct.h,v 1.3 2002/03/16 13:18:53 ptt Exp $ */
+/* $Id: pttstruct.h,v 1.4 2002/03/19 16:03:23 ptt Exp $ */
#ifndef INCLUDE_STRUCT_H
#define INCLUDE_STRUCT_H
@@ -291,7 +291,7 @@ typedef struct bcache_t {
boardheader_t bcache[MAX_BOARD];
boardheader_t *sorted[2][MAX_BOARD]; /* 0: by name 1: by class */
fileheader_t dircache[MAX_BOARD][DIRCACHESIZE];
- int cachetotal[MAX_BOARD];
+ int busystate_b[MAX_BOARD];
int total[MAX_BOARD];
time_t lastposttime[MAX_BOARD];
time_t uptime;
diff --git a/mbbsd/cache.c b/mbbsd/cache.c
index 57ed0d3f..a0407437 100644
--- a/mbbsd/cache.c
+++ b/mbbsd/cache.c
@@ -1,4 +1,4 @@
-/* $Id: cache.c,v 1.2 2002/03/09 17:27:57 in2 Exp $ */
+/* $Id: cache.c,v 1.3 2002/03/19 16:02:23 ptt Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -601,7 +601,6 @@ void load_fileheader_cache(int bid, char *direct)
brdshm->busystate = 1;
get_records(direct, brdshm->dircache[bid - 1] ,
sizeof(fileheader_t),n<1?1:n, DIRCACHESIZE);
- brdshm->cachetotal[bid-1]=num; // cachetotal先設 以後再改不用全部load
brdshm->busystate = 0;
}
else