summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-30 23:32:13 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-30 23:32:13 +0800
commit781aa92e174a32cc7e1af105b789351b10dcc7d8 (patch)
tree75c08dae6c4a9f29c7eff4c06092f5434561e221
parent09c2e46468e99d827c85ef55532535bf2bf24ca2 (diff)
downloadpttbbs-781aa92e174a32cc7e1af105b789351b10dcc7d8.tar
pttbbs-781aa92e174a32cc7e1af105b789351b10dcc7d8.tar.gz
pttbbs-781aa92e174a32cc7e1af105b789351b10dcc7d8.tar.bz2
pttbbs-781aa92e174a32cc7e1af105b789351b10dcc7d8.tar.lz
pttbbs-781aa92e174a32cc7e1af105b789351b10dcc7d8.tar.xz
pttbbs-781aa92e174a32cc7e1af105b789351b10dcc7d8.tar.zst
pttbbs-781aa92e174a32cc7e1af105b789351b10dcc7d8.zip
* the simple 'x' check should be case insensitive.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4720 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/mail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index 41f9135e..396fca87 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -2035,7 +2035,7 @@ doforward(const char *direct, const fileheader_t * fh, int mode)
char genbuf[PATHLEN];
int return_no;
- if (!address[0] && strcmp(cuser.email, "x") != 0)
+ if (!address[0] && strcasecmp(cuser.email, "x") != 0)
strlcpy(address, cuser.email, sizeof(address));
if( mode == 'U' ){