summaryrefslogtreecommitdiffstats
path: root/mbbsd/board.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-09 15:26:07 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-09 15:26:07 +0800
commita6973ae5e83e23b88851241bb2904efea8874b1b (patch)
treeefb9e0f567b37ddaa490d228a143b1353f81e346 /mbbsd/board.c
parent17d465e3a6fd430a9318604641453e6c8ee63db3 (diff)
downloadpttbbs-a6973ae5e83e23b88851241bb2904efea8874b1b.tar
pttbbs-a6973ae5e83e23b88851241bb2904efea8874b1b.tar.gz
pttbbs-a6973ae5e83e23b88851241bb2904efea8874b1b.tar.bz2
pttbbs-a6973ae5e83e23b88851241bb2904efea8874b1b.tar.lz
pttbbs-a6973ae5e83e23b88851241bb2904efea8874b1b.tar.xz
pttbbs-a6973ae5e83e23b88851241bb2904efea8874b1b.tar.zst
pttbbs-a6973ae5e83e23b88851241bb2904efea8874b1b.zip
compatable to gcc 2.95
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1933 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 83e10eb2..0d8597cc 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -619,8 +619,8 @@ paste_taged_brds(int gid)
getans("貼上標記的看板?(y/N)")=='n') return 0;
fav = get_current_fav();
for (tmp = 0; tmp < fav->DataTail; tmp++) {
- bid = fav_getid(&fav->favh[tmp]);
- boardheader_t *bh = getbcache(bid);
+ boardheader_t *bh;
+ bh = getbcache(bid = fav_getid(&fav->favh[tmp]));
if( !is_set_attr(&fav->favh[tmp], FAVH_ADM_TAG))
continue;
set_attr(&fav->favh[tmp], FAVH_ADM_TAG, 0);