From 1f2d1734d6fd8c4d1306b5f7eed66b1f88be3d21 Mon Sep 17 00:00:00 2001 From: in2 Date: Tue, 6 Aug 2002 08:43:06 +0000 Subject: fix nbrd swap out bug git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@454 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/board.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mbbsd/board.c b/mbbsd/board.c index 149aa33c..d665360f 100644 --- a/mbbsd/board.c +++ b/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); -- cgit v1.2.3