summaryrefslogtreecommitdiffstats
path: root/mbbsd/board.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-12-13 20:47:34 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-12-13 20:47:34 +0800
commitc836488b3f312945cf5d8f903f0fe278cede6901 (patch)
treeb1f5c8922cace6b87ace509de31ce3c2dd8a33d0 /mbbsd/board.c
parentbe771c6ff954bbd39047db21294520c3b7dacd67 (diff)
downloadpttbbs-c836488b3f312945cf5d8f903f0fe278cede6901.tar
pttbbs-c836488b3f312945cf5d8f903f0fe278cede6901.tar.gz
pttbbs-c836488b3f312945cf5d8f903f0fe278cede6901.tar.bz2
pttbbs-c836488b3f312945cf5d8f903f0fe278cede6901.tar.lz
pttbbs-c836488b3f312945cf5d8f903f0fe278cede6901.tar.xz
pttbbs-c836488b3f312945cf5d8f903f0fe278cede6901.tar.zst
pttbbs-c836488b3f312945cf5d8f903f0fe278cede6901.zip
shouldn't add 1 for this index
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2377 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/board.c')
-rw-r--r--mbbsd/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index 54125ab0..dc766ecc 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -285,7 +285,7 @@ load_boards(char *key)
else { // general case
nbrd = (boardstat_t *) MALLOC(sizeof(boardstat_t) * numboards);
for (i = 0; i < numboards; i++) {
- n = SHM->bsorted[type][i]+1;
+ n = SHM->bsorted[type][i];
if (n<0 || (bptr = &bcache[n]) == NULL)
continue;
if (!bptr->brdname[0] ||