diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-05 01:02:58 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-05 01:02:58 +0800 |
commit | 80d94701e0553a5b35fba7f717eb85037870868d (patch) | |
tree | 2d9135a1e787db6714b89fd8248849405d4f55c9 /mbbsd/announce.c | |
parent | 1468dc39fd67c39076b38bf4b9736394e416b6b3 (diff) | |
download | pttbbs-80d94701e0553a5b35fba7f717eb85037870868d.tar pttbbs-80d94701e0553a5b35fba7f717eb85037870868d.tar.gz pttbbs-80d94701e0553a5b35fba7f717eb85037870868d.tar.bz2 pttbbs-80d94701e0553a5b35fba7f717eb85037870868d.tar.lz pttbbs-80d94701e0553a5b35fba7f717eb85037870868d.tar.xz pttbbs-80d94701e0553a5b35fba7f717eb85037870868d.tar.zst pttbbs-80d94701e0553a5b35fba7f717eb85037870868d.zip |
- announce: fix append size error (was using target size)
- mail: add more fast reject
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4080 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/announce.c')
-rw-r--r-- | mbbsd/announce.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mbbsd/announce.c b/mbbsd/announce.c index 8b947995..65a02ed2 100644 --- a/mbbsd/announce.c +++ b/mbbsd/announce.c @@ -601,6 +601,7 @@ a_appenditem(const menu_t * pm, int isask) return; } + // fname = destination sz = dashs(fname); if (sz >= MAX_FILE_SIZE) { @@ -621,6 +622,8 @@ a_appenditem(const menu_t * pm, int isask) fclose(fp); return; } + // cq->copyfile = input + sz = dashs(cq->copyfile); memset(buf, '-', 74); buf[74] = '\0'; |