summaryrefslogtreecommitdiffstats
path: root/mbbsd/name.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/name.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/name.c')
-rw-r--r--mbbsd/name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/name.c b/mbbsd/name.c
index 85c849a7..83dcf373 100644
--- a/mbbsd/name.c
+++ b/mbbsd/name.c
@@ -111,7 +111,7 @@ InList(const word_t * list, const char *name)
const word_t *p;
for (p = list; p; p = p->next)
- if (!strcmp(p->word, name))
+ if (!strcasecmp(p->word, name))
return 1;
return 0;
}