From 0ca2a0449120c66ac26bb8331624b62c03ea6984 Mon Sep 17 00:00:00 2001 From: ptt Date: Mon, 20 Dec 2004 16:36:09 +0000 Subject: set crosspost times as zero only when he change the board. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2384 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/edit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mbbsd/edit.c') diff --git a/mbbsd/edit.c b/mbbsd/edit.c index 6544bb12..1296f23d 100644 --- a/mbbsd/edit.c +++ b/mbbsd/edit.c @@ -1145,7 +1145,8 @@ write_file(char *fpath, int saveheader, int *islocal) if (po && sum == 3) { memcpy(&postrecord.checksum[1], checksum, sizeof(int) * 3); - postrecord.times = 0; + if(postrecord.last_bid != currbid) + postrecord.times = 0; } if (!aborted) { if (islocal) -- cgit v1.2.3