summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-08 13:28:26 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-08 13:28:26 +0800
commit05b08c47da6d74024f7c84257d5ddcf38c26686e (patch)
treeb9372e4384f23e1048a552800d6c90372891cd6b /mbbsd/bbs.c
parent2d0a465e3eb0b596e62032b1b5f4f5b07982be12 (diff)
downloadpttbbs-05b08c47da6d74024f7c84257d5ddcf38c26686e.tar
pttbbs-05b08c47da6d74024f7c84257d5ddcf38c26686e.tar.gz
pttbbs-05b08c47da6d74024f7c84257d5ddcf38c26686e.tar.bz2
pttbbs-05b08c47da6d74024f7c84257d5ddcf38c26686e.tar.lz
pttbbs-05b08c47da6d74024f7c84257d5ddcf38c26686e.tar.xz
pttbbs-05b08c47da6d74024f7c84257d5ddcf38c26686e.tar.zst
pttbbs-05b08c47da6d74024f7c84257d5ddcf38c26686e.zip
Fix wrong symbol link when abort editing artical.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1512 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index e66b1a3f..402c6f06 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1000,10 +1000,10 @@ edit_post(int ent, fileheader_t * fhdr, char *direct)
lock_substitute_record(direct, fhdr, sizeof(*fhdr), ent, LOCK_UN);
/* rocker.011018: 順便更新一下cache */
touchdircache(currbid);
- }
- if (!(currbrdattr & BRD_HIDE) && (!bp->level || (currbrdattr & BRD_POSTMASK)))
- do_crosspost(ALLPOST, fhdr, fpath);
+ if (!(currbrdattr & BRD_HIDE) && (!bp->level || (currbrdattr & BRD_POSTMASK)))
+ do_crosspost(ALLPOST, fhdr, fpath);
+ }
return FULLUPDATE;
}