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
commitfe5767bb545504e5c65d59fdfa32807ad689825d (patch)
tree04535dad78ec20baeb9579a4436945e278c4317a
parente1c2d594e7df3573adb49a54daaad7450ee7f6fa (diff)
downloadpttbbs-fe5767bb545504e5c65d59fdfa32807ad689825d.tar
pttbbs-fe5767bb545504e5c65d59fdfa32807ad689825d.tar.gz
pttbbs-fe5767bb545504e5c65d59fdfa32807ad689825d.tar.bz2
pttbbs-fe5767bb545504e5c65d59fdfa32807ad689825d.tar.lz
pttbbs-fe5767bb545504e5c65d59fdfa32807ad689825d.tar.xz
pttbbs-fe5767bb545504e5c65d59fdfa32807ad689825d.tar.zst
pttbbs-fe5767bb545504e5c65d59fdfa32807ad689825d.zip
* the simple 'x' check should be case insensitive.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4720 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/mail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/mail.c b/pttbbs/mbbsd/mail.c
index 41f9135e..396fca87 100644
--- a/pttbbs/mbbsd/mail.c
+++ b/pttbbs/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' ){