From 7e1e5089ec50a0dca311d608939e97fc5fcbdd84 Mon Sep 17 00:00:00 2001 From: victor Date: Fri, 12 Nov 2004 07:40:48 +0000 Subject: user has the most priority ..... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2323 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/mail.c | 5 +++-- 1 file 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轉寄。"); -- cgit v1.2.3