summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-08-06 16:43:06 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-08-06 16:43:06 +0800
commit56770ab2f36d9be01f889f99d55d5d50fad7da4f (patch)
tree21e561ebd6b50bcafe9f04828081c5e0ceffdea7
parent0dd474d70b18c298ecb11049980d99a09db760a6 (diff)
downloadpttbbs-56770ab2f36d9be01f889f99d55d5d50fad7da4f.tar
pttbbs-56770ab2f36d9be01f889f99d55d5d50fad7da4f.tar.gz
pttbbs-56770ab2f36d9be01f889f99d55d5d50fad7da4f.tar.bz2
pttbbs-56770ab2f36d9be01f889f99d55d5d50fad7da4f.tar.lz
pttbbs-56770ab2f36d9be01f889f99d55d5d50fad7da4f.tar.xz
pttbbs-56770ab2f36d9be01f889f99d55d5d50fad7da4f.tar.zst
pttbbs-56770ab2f36d9be01f889f99d55d5d50fad7da4f.zip
fix nbrd swap out bug
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@454 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/board.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/board.c b/pttbbs/mbbsd/board.c
index 149aa33c..d665360f 100644
--- a/pttbbs/mbbsd/board.c
+++ b/pttbbs/mbbsd/board.c
@@ -1,4 +1,4 @@
-/* $Id: board.c,v 1.45 2002/08/06 07:33:35 in2 Exp $ */
+/* $Id: board.c,v 1.46 2002/08/06 08:43:06 in2 Exp $ */
#include "bbs.h"
#define BRC_STRLEN 15 /* Length of board name */
#define BRC_MAXSIZE 24576
@@ -1036,6 +1036,7 @@ choose_board(int newflag)
read(fd, nbrd, nbrdlength);
close(fd);
unlink(fn);
+ ptr = &nbrd[num];
}
#endif
check_newpost(ptr);