summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-11 00:15:50 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-11 00:15:50 +0800
commit8b5ca7e36cb6925e19ff6b755ac61bcdfc1dc6a7 (patch)
tree3425deda45fb10c5ade794c5b2fae06b9f5d54ef /mbbsd/bbs.c
parent71f183618cb4749da44fa29b4c7f255486975a30 (diff)
downloadpttbbs-8b5ca7e36cb6925e19ff6b755ac61bcdfc1dc6a7.tar
pttbbs-8b5ca7e36cb6925e19ff6b755ac61bcdfc1dc6a7.tar.gz
pttbbs-8b5ca7e36cb6925e19ff6b755ac61bcdfc1dc6a7.tar.bz2
pttbbs-8b5ca7e36cb6925e19ff6b755ac61bcdfc1dc6a7.tar.lz
pttbbs-8b5ca7e36cb6925e19ff6b755ac61bcdfc1dc6a7.tar.xz
pttbbs-8b5ca7e36cb6925e19ff6b755ac61bcdfc1dc6a7.tar.zst
pttbbs-8b5ca7e36cb6925e19ff6b755ac61bcdfc1dc6a7.zip
safe-memory all board complete
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@158 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index e8a2431b..2a340e73 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1,4 +1,4 @@
-/* $Id: bbs.c,v 1.5 2002/05/01 04:42:16 in2 Exp $ */
+/* $Id: bbs.c,v 1.6 2002/05/10 16:15:50 in2 Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -247,8 +247,11 @@ static int do_select(int ent, fileheader_t *fhdr, char *direct) {
move(0, 0);
clrtoeol();
+ allboardcomplete(MSG_SELECT_BOARD, bname, sizeof(bname));
+ /*
make_blist();
namecomplete(MSG_SELECT_BOARD, bname);
+ */
if(bname[0]=='\0' || !(i = getbnum(bname)))
return FULLUPDATE;
bh = getbcache(i);
@@ -725,7 +728,6 @@ static int cross_post(int ent, fileheader_t *fhdr, char *direct) {
char genbuf[200];
char genbuf2[4];
boardheader_t *bp;
- make_blist();
move(2, 0);
clrtoeol();
move(3, 0);
@@ -734,7 +736,12 @@ static int cross_post(int ent, fileheader_t *fhdr, char *direct) {
bp = getbcache(currbid);
if (bp && (bp->brdattr & BRD_VOTEBOARD))
return FULLUPDATE;
+ allboardcomplete("轉錄本文章於看板:", xboard, sizeof(xboard));
+ /*
+ make_blist();
+ namecomplete(MSG_SELECT_BOARD, bname);
namecomplete("轉錄本文章於看板:", xboard);
+ */
if(*xboard == '\0' || !haspostperm(xboard))
return FULLUPDATE;