summaryrefslogtreecommitdiffstats
path: root/mbbsd/board.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-26 01:34:33 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-26 01:34:33 +0800
commitdda27c3337bfe813cff4f7fc8c3f953a9dce3c85 (patch)
treee0267efe3b5b3724e6548430732da9ac40ef9326 /mbbsd/board.c
parentc1689f74c8bfc6ff538264dad3335f128242fc02 (diff)
downloadpttbbs-dda27c3337bfe813cff4f7fc8c3f953a9dce3c85.tar
pttbbs-dda27c3337bfe813cff4f7fc8c3f953a9dce3c85.tar.gz
pttbbs-dda27c3337bfe813cff4f7fc8c3f953a9dce3c85.tar.bz2
pttbbs-dda27c3337bfe813cff4f7fc8c3f953a9dce3c85.tar.lz
pttbbs-dda27c3337bfe813cff4f7fc8c3f953a9dce3c85.tar.xz
pttbbs-dda27c3337bfe813cff4f7fc8c3f953a9dce3c85.tar.zst
pttbbs-dda27c3337bfe813cff4f7fc8c3f953a9dce3c85.zip
make 's' search_board in board-list work with this case:
2 boards with same prefix and user input for exactly the shorter one. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3209 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/board.c')
-rw-r--r--mbbsd/board.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index 2256c6f4..f84aa519 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -384,6 +384,10 @@ search_board(void)
FreeNameList();
toplev = NULL;
+#ifdef DEBUG
+ vmsg(genbuf);
+#endif
+
for (num = 0; num < brdnum; num++)
if (!strcasecmp(B_BH(&nbrd[num])->brdname, genbuf))
return num;