From c836488b3f312945cf5d8f903f0fe278cede6901 Mon Sep 17 00:00:00 2001 From: victor Date: Mon, 13 Dec 2004 12:47:34 +0000 Subject: shouldn't add 1 for this index git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2377 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mbbsd/board.c') 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] || -- cgit v1.2.3