summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-25 01:44:39 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-25 01:44:39 +0800
commit71cdfc6df1eac3e18bb99a3717c677a88851f079 (patch)
treef08c37a574fb9905ade736a326d02ef148c87683 /mbbsd/bbs.c
parent582fd88997d5da47d7209d7c6d32e418905fe00b (diff)
downloadpttbbs-71cdfc6df1eac3e18bb99a3717c677a88851f079.tar
pttbbs-71cdfc6df1eac3e18bb99a3717c677a88851f079.tar.gz
pttbbs-71cdfc6df1eac3e18bb99a3717c677a88851f079.tar.bz2
pttbbs-71cdfc6df1eac3e18bb99a3717c677a88851f079.tar.lz
pttbbs-71cdfc6df1eac3e18bb99a3717c677a88851f079.tar.xz
pttbbs-71cdfc6df1eac3e18bb99a3717c677a88851f079.tar.zst
pttbbs-71cdfc6df1eac3e18bb99a3717c677a88851f079.zip
boardfriend
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@200 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 602e3bb4..bd37b7d7 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1,4 +1,4 @@
-/* $Id: bbs.c,v 1.10 2002/05/16 21:54:56 in2 Exp $ */
+/* $Id: bbs.c,v 1.11 2002/05/24 17:44:39 ptt Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -271,8 +271,7 @@ static int do_select(int ent, fileheader_t *fhdr, char *direct) {
outs(err_bid);
return FULLUPDATE;
}
-
- currutmp->brc_id = currbid;
+ setutmpbid(currbid);
brc_initial(bname);
set_board();
@@ -1865,7 +1864,7 @@ int Read() {
more(buf, NA);
pressanykey();
}
- currutmp->brc_id = currbid;
+ setutmpbid(currbid);
setbdir(buf, currboard);
curredit &= ~EDIT_MAIL;
i_read(READING, buf, readtitle, readdoent, read_comms,
@@ -1874,8 +1873,7 @@ int Read() {
log_board(currboard, now - usetime);
#endif
brc_update();
-
- currutmp->brc_id =tmpbid;
+ setutmpbid(tmpbid);
currutmp->mode = mode0;
currstat = stat0;
return 0;
@@ -1889,7 +1887,7 @@ void ReadSelect() {
currstat = XMODE;
if(do_select(0, 0, genbuf) == NEWDIRECT)
Read();
- currutmp->brc_id=0;
+ setutmpbid(0);
currutmp->mode = mode0;
currstat = stat0;
}