summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-03-20 00:03:23 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-03-20 00:03:23 +0800
commit52dc0246ac67225333677100aa78df31b53a0374 (patch)
treeec42e8d1b17013d86b5a83ba60bc992354979059
parent3585377b0d6fdc700418c1af505d404329c7f34b (diff)
downloadpttbbs-52dc0246ac67225333677100aa78df31b53a0374.tar
pttbbs-52dc0246ac67225333677100aa78df31b53a0374.tar.gz
pttbbs-52dc0246ac67225333677100aa78df31b53a0374.tar.bz2
pttbbs-52dc0246ac67225333677100aa78df31b53a0374.tar.lz
pttbbs-52dc0246ac67225333677100aa78df31b53a0374.tar.xz
pttbbs-52dc0246ac67225333677100aa78df31b53a0374.tar.zst
pttbbs-52dc0246ac67225333677100aa78df31b53a0374.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@53 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-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