summaryrefslogtreecommitdiffstats
path: root/mbbsd/record.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-10 20:48:40 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-10 20:48:40 +0800
commit90eb3c77f058ddad2e6d369b8aab5232f685c100 (patch)
tree23b6677da96436058b5f6b538b03ac3bfcc6fd99 /mbbsd/record.c
parente198264c33367686003b30ae2399df6f286978bf (diff)
downloadpttbbs-90eb3c77f058ddad2e6d369b8aab5232f685c100.tar
pttbbs-90eb3c77f058ddad2e6d369b8aab5232f685c100.tar.gz
pttbbs-90eb3c77f058ddad2e6d369b8aab5232f685c100.tar.bz2
pttbbs-90eb3c77f058ddad2e6d369b8aab5232f685c100.tar.lz
pttbbs-90eb3c77f058ddad2e6d369b8aab5232f685c100.tar.xz
pttbbs-90eb3c77f058ddad2e6d369b8aab5232f685c100.tar.zst
pttbbs-90eb3c77f058ddad2e6d369b8aab5232f685c100.zip
- (internal) vedit should not change input parameter.
- (internal) prepare to disable mail auto forwarding git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4127 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/record.c')
-rw-r--r--mbbsd/record.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/record.c b/mbbsd/record.c
index 48c61fe2..4fe5e076 100644
--- a/mbbsd/record.c
+++ b/mbbsd/record.c
@@ -586,6 +586,7 @@ append_record(const char *fpath, const fileheader_t * record, int size)
int
append_record_forward(char *fpath, fileheader_t * record, int size, const char *origid)
{
+// #ifdef USE_MAIL_AUTO_FORWARD
#if !defined(_BBS_UTIL_C_)
if (get_num_records(fpath, sizeof(fileheader_t)) <= MAX_KEEPMAIL * 2) {
FILE *fp;
@@ -636,6 +637,7 @@ append_record_forward(char *fpath, fileheader_t * record, int size, const char *
}
}
#endif
+// #endif // USE_MAIL_AUTO_FORWARD
append_record(fpath, record, size);