summaryrefslogtreecommitdiffstats
path: root/mbbsd/board.c
diff options
context:
space:
mode:
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) {