summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-08 13:56:09 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-08 13:56:09 +0800
commit19a4185ac28f06c1dcd55d55aad67336c14e5e8e (patch)
treeeff8e43510098df5266f3bf72f78d8b0db996c5e
parentb880bff3796ac14aa54de9354e8cf4ae12601d0c (diff)
downloadpttbbs-19a4185ac28f06c1dcd55d55aad67336c14e5e8e.tar
pttbbs-19a4185ac28f06c1dcd55d55aad67336c14e5e8e.tar.gz
pttbbs-19a4185ac28f06c1dcd55d55aad67336c14e5e8e.tar.bz2
pttbbs-19a4185ac28f06c1dcd55d55aad67336c14e5e8e.tar.lz
pttbbs-19a4185ac28f06c1dcd55d55aad67336c14e5e8e.tar.xz
pttbbs-19a4185ac28f06c1dcd55d55aad67336c14e5e8e.tar.zst
pttbbs-19a4185ac28f06c1dcd55d55aad67336c14e5e8e.zip
dircache error
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1733 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/cache.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/cache.c b/mbbsd/cache.c
index 698da5c7..0d551669 100644
--- a/mbbsd/cache.c
+++ b/mbbsd/cache.c
@@ -731,7 +731,9 @@ setbottomtotal(int bid)
char genbuf[256];
setbfile(genbuf, bh->brdname, ".DIR.bottom");
SHM->n_bottom[bid-1]=get_num_records(genbuf, sizeof(fileheader_t));
+#if DIRCACHESIZE
load_fileheader_bottom_cache(currbid, genbuf);
+#endif
}
void
setbtotal(int bid)