summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-08-25 16:38:53 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-08-25 16:38:53 +0800
commitbd3ae512413d166c2c2fcb88821fe8e75ccf6807 (patch)
treed8a0295ce3c7cf2c7150497be1245fd1854f8080 /mbbsd
parentb4b0ca19b19796bb2dcfc9a786ae3934054f73b4 (diff)
downloadpttbbs-bd3ae512413d166c2c2fcb88821fe8e75ccf6807.tar
pttbbs-bd3ae512413d166c2c2fcb88821fe8e75ccf6807.tar.gz
pttbbs-bd3ae512413d166c2c2fcb88821fe8e75ccf6807.tar.bz2
pttbbs-bd3ae512413d166c2c2fcb88821fe8e75ccf6807.tar.lz
pttbbs-bd3ae512413d166c2c2fcb88821fe8e75ccf6807.tar.xz
pttbbs-bd3ae512413d166c2c2fcb88821fe8e75ccf6807.tar.zst
pttbbs-bd3ae512413d166c2c2fcb88821fe8e75ccf6807.zip
GuEsT login to be case-insensitive
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2166 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/mbbsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 2dae5632..7736d92d 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -562,7 +562,7 @@ login_query()
#endif
} else if (uid[0] == '\0'){
outs(err_uid);
- } else if (strcmp(uid, STR_GUEST)) {
+ } else if (strcasecmp(uid, STR_GUEST)) {
getdata(21, 0, MSG_PASSWD,
passbuf, sizeof(passbuf), NOECHO);
passbuf[8] = '\0';