summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-22 13:49:37 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-22 13:49:37 +0800
commitf0cafd6c875e3a26d89ed58abfac6930b865857a (patch)
tree27e468805aae532b3022dd53b3d449dda8ca86af
parent684c974d6a660deac905d3d3f6be45df084c850d (diff)
downloadpttbbs-f0cafd6c875e3a26d89ed58abfac6930b865857a.tar
pttbbs-f0cafd6c875e3a26d89ed58abfac6930b865857a.tar.gz
pttbbs-f0cafd6c875e3a26d89ed58abfac6930b865857a.tar.bz2
pttbbs-f0cafd6c875e3a26d89ed58abfac6930b865857a.tar.lz
pttbbs-f0cafd6c875e3a26d89ed58abfac6930b865857a.tar.xz
pttbbs-f0cafd6c875e3a26d89ed58abfac6930b865857a.tar.zst
pttbbs-f0cafd6c875e3a26d89ed58abfac6930b865857a.zip
* 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
-rw-r--r--mbbsd/mail.c4
1 files 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') {