From f0cafd6c875e3a26d89ed58abfac6930b865857a Mon Sep 17 00:00:00 2001 From: piaip Date: Mon, 22 Jun 2009 05:49:37 +0000 Subject: * do not return error when forwarding to rejects (following the behavior of multisend / send). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4692 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/mail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mbbsd/mail.c b/mbbsd/mail.c index 61294d7e..5ff1f74f 100644 --- a/mbbsd/mail.c +++ b/mbbsd/mail.c @@ -2117,9 +2117,9 @@ doforward(const char *direct, const fileheader_t * fh, int mode) sethomefile(fpath, xid, FN_OVERRIDES); i = file_exist_record(fpath, cuser.userid); sethomefile(fpath, xid, FN_REJECT); - // TODO ¸Ó return ­þºØ­È¡H + // XXX check do_send - they simply ignore it. if (!i && file_exist_record(fpath, cuser.userid)) - return -1; + return 0; } while (0); if (mode == 'Z') { -- cgit v1.2.3