diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-08-12 15:35:07 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-08-12 15:35:07 +0800 |
commit | c6ff3d039a8e5a7f72208142f5b32228b078dcb0 (patch) | |
tree | bce7bc3b3f68018969eac20194dbf557e90d6c86 | |
parent | 76ba995e77c3bb6ff2b6e1a64f215c457a8c48f5 (diff) | |
download | pttbbs-c6ff3d039a8e5a7f72208142f5b32228b078dcb0.tar pttbbs-c6ff3d039a8e5a7f72208142f5b32228b078dcb0.tar.gz pttbbs-c6ff3d039a8e5a7f72208142f5b32228b078dcb0.tar.bz2 pttbbs-c6ff3d039a8e5a7f72208142f5b32228b078dcb0.tar.lz pttbbs-c6ff3d039a8e5a7f72208142f5b32228b078dcb0.tar.xz pttbbs-c6ff3d039a8e5a7f72208142f5b32228b078dcb0.tar.zst pttbbs-c6ff3d039a8e5a7f72208142f5b32228b078dcb0.zip |
numboards = SHM->Bnumber in attach_SHM()
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@1093 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/cache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/cache.c b/pttbbs/mbbsd/cache.c index ad2d7a7d..7b26f8f2 100644 --- a/pttbbs/mbbsd/cache.c +++ b/pttbbs/mbbsd/cache.c @@ -1,4 +1,4 @@ -/* $Id: cache.c,v 1.63 2003/07/20 00:55:34 in2 Exp $ */ +/* $Id$ */ #include "bbs.h" #ifdef _BBS_UTIL_C_ @@ -71,6 +71,7 @@ attach_SHM(void) if (SHM->Btouchtime == 0) SHM->Btouchtime = 1; bcache = SHM->bcache; + numboards = SHM->Bnumber; GLOBALVAR = SHM->GLOBALVAR; if (SHM->Ptouchtime == 0) |