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 | 54ee21da7138480a03111207927525f70478e7e0 (patch) | |
tree | c17ad82eee588ae187965489037439ebd372722a | |
parent | 59412f931afadb4a89e711761580749fc3d761a9 (diff) | |
download | pttbbs-54ee21da7138480a03111207927525f70478e7e0.tar pttbbs-54ee21da7138480a03111207927525f70478e7e0.tar.gz pttbbs-54ee21da7138480a03111207927525f70478e7e0.tar.bz2 pttbbs-54ee21da7138480a03111207927525f70478e7e0.tar.lz pttbbs-54ee21da7138480a03111207927525f70478e7e0.tar.xz pttbbs-54ee21da7138480a03111207927525f70478e7e0.tar.zst pttbbs-54ee21da7138480a03111207927525f70478e7e0.zip |
numboards = SHM->Bnumber in attach_SHM()
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1093 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/cache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/cache.c b/mbbsd/cache.c index ad2d7a7d..7b26f8f2 100644 --- a/mbbsd/cache.c +++ b/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) |