diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-11-12 15:40:48 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-11-12 15:40:48 +0800 |
commit | 7e1e5089ec50a0dca311d608939e97fc5fcbdd84 (patch) | |
tree | 68e56cd9103255824aa8b785188a57b53b9a1bdb | |
parent | 5d6d1b984e33bde119a5322c6bc76e5c0e48f043 (diff) | |
download | pttbbs-7e1e5089ec50a0dca311d608939e97fc5fcbdd84.tar pttbbs-7e1e5089ec50a0dca311d608939e97fc5fcbdd84.tar.gz pttbbs-7e1e5089ec50a0dca311d608939e97fc5fcbdd84.tar.bz2 pttbbs-7e1e5089ec50a0dca311d608939e97fc5fcbdd84.tar.lz pttbbs-7e1e5089ec50a0dca311d608939e97fc5fcbdd84.tar.xz pttbbs-7e1e5089ec50a0dca311d608939e97fc5fcbdd84.tar.zst pttbbs-7e1e5089ec50a0dca311d608939e97fc5fcbdd84.zip |
user has the most priority .....
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2323 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/mail.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c index 85b3170f..b9d19440 100644 --- a/mbbsd/mail.c +++ b/mbbsd/mail.c @@ -1530,12 +1530,13 @@ bsmtp(char *fpath, char *title, char *rcpt, int method) int doforward(char *direct, fileheader_t * fh, int mode) { - char address[60]; + static char address[60]; char fname[500]; int return_no; char genbuf[200]; - strlcpy(address, cuser.email, sizeof(address)); + if (!address[0]) + strlcpy(address, cuser.email, sizeof(address)); if( mode == 'U' ){ vmsg("將進行 uuencode 。若您不清楚什麼是 uuencode 請改用 F轉寄。"); |