diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-08-06 16:43:06 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-08-06 16:43:06 +0800 |
commit | 1f2d1734d6fd8c4d1306b5f7eed66b1f88be3d21 (patch) | |
tree | 2deed0b04371fc5b941560a569273bea433adf9c /mbbsd | |
parent | 674005bcc479ec52064b68f81ae27b720e1eb365 (diff) | |
download | pttbbs-1f2d1734d6fd8c4d1306b5f7eed66b1f88be3d21.tar pttbbs-1f2d1734d6fd8c4d1306b5f7eed66b1f88be3d21.tar.gz pttbbs-1f2d1734d6fd8c4d1306b5f7eed66b1f88be3d21.tar.bz2 pttbbs-1f2d1734d6fd8c4d1306b5f7eed66b1f88be3d21.tar.lz pttbbs-1f2d1734d6fd8c4d1306b5f7eed66b1f88be3d21.tar.xz pttbbs-1f2d1734d6fd8c4d1306b5f7eed66b1f88be3d21.tar.zst pttbbs-1f2d1734d6fd8c4d1306b5f7eed66b1f88be3d21.zip |
fix nbrd swap out bug
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@454 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/board.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |