From e1e9aa61c0c3a6b9fff6421edaf4264f40f56837 Mon Sep 17 00:00:00 2001 From: ptt Date: Sat, 25 May 2002 06:28:21 +0000 Subject: hot board complete git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@216 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/board.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mbbsd/board.c') diff --git a/mbbsd/board.c b/mbbsd/board.c index 44014b93..2d774033 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -1,4 +1,4 @@ -/* $Id: board.c,v 1.19 2002/05/25 06:18:09 ptt Exp $ */ +/* $Id: board.c,v 1.20 2002/05/25 06:28:21 ptt Exp $ */ #include #include #include @@ -428,7 +428,7 @@ static boardstat_t * addnewbrdstat(int n, int state) } static int cmpboardname(boardstat_t *brd, boardstat_t *tmp) { - return brd->bh->nuser- tmp->bh->nuser; + return tmp->bh->nuser - brd->bh->nuser; } static void load_boards(char *key) { -- cgit v1.2.3