summaryrefslogtreecommitdiffstats
path: root/mbbsd/board.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-25 14:28:21 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-25 14:28:21 +0800
commite1e9aa61c0c3a6b9fff6421edaf4264f40f56837 (patch)
tree600f37ecdd06a62ed63739f4d32b3bdca0b12763 /mbbsd/board.c
parent4977ac84acc673a7764b780e99021f88ca0997cf (diff)
downloadpttbbs-e1e9aa61c0c3a6b9fff6421edaf4264f40f56837.tar
pttbbs-e1e9aa61c0c3a6b9fff6421edaf4264f40f56837.tar.gz
pttbbs-e1e9aa61c0c3a6b9fff6421edaf4264f40f56837.tar.bz2
pttbbs-e1e9aa61c0c3a6b9fff6421edaf4264f40f56837.tar.lz
pttbbs-e1e9aa61c0c3a6b9fff6421edaf4264f40f56837.tar.xz
pttbbs-e1e9aa61c0c3a6b9fff6421edaf4264f40f56837.tar.zst
pttbbs-e1e9aa61c0c3a6b9fff6421edaf4264f40f56837.zip
hot board complete
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@216 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/board.c')
-rw-r--r--mbbsd/board.c4
1 files changed, 2 insertions, 2 deletions
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 <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -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) {