summaryrefslogtreecommitdiffstats
path: root/mbbsd
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
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')
-rw-r--r--mbbsd/board.c4
-rw-r--r--mbbsd/var.c4
2 files changed, 4 insertions, 4 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) {
diff --git a/mbbsd/var.c b/mbbsd/var.c
index ff2febf0..e7fbb118 100644
--- a/mbbsd/var.c
+++ b/mbbsd/var.c
@@ -1,4 +1,4 @@
-/* $Id: var.c,v 1.4 2002/05/25 06:11:38 ptt Exp $ */
+/* $Id: var.c,v 1.5 2002/05/25 06:28:21 ptt Exp $ */
#include <stdio.h>
#include <sys/types.h>
#include "config.h"
@@ -51,8 +51,8 @@ char *str_permboard[] = {
"預設匿名版", /* BRD_DEFAULTANONYMOUS */
"違法改進中看版", /* BRD_BAD */
"連署專用看版", /* BRD_VOTEBOARD */
+ "已警告要廢除", /* BRD_WARNEL */
"熱門看板群組", /* BRD_TOP */
- "沒想到",
"沒想到",
"沒想到",
"沒想到",