From 781aa92e174a32cc7e1af105b789351b10dcc7d8 Mon Sep 17 00:00:00 2001 From: piaip Date: Tue, 30 Jun 2009 15:32:13 +0000 Subject: * the simple 'x' check should be case insensitive. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4720 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/mail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ){ -- cgit v1.2.3