summaryrefslogtreecommitdiffstats
path: root/mbbsd/syspost.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-13 04:00:54 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-13 04:00:54 +0800
commit99b4edeccaa2850d2ef3851569b2d16485ef58b5 (patch)
treeaa367017b019d7ebc366b396d0c3f31cea4287ef /mbbsd/syspost.c
parentc8b01d234061bc0b668ad71798955a332ddd186e (diff)
downloadpttbbs-99b4edeccaa2850d2ef3851569b2d16485ef58b5.tar
pttbbs-99b4edeccaa2850d2ef3851569b2d16485ef58b5.tar.gz
pttbbs-99b4edeccaa2850d2ef3851569b2d16485ef58b5.tar.bz2
pttbbs-99b4edeccaa2850d2ef3851569b2d16485ef58b5.tar.lz
pttbbs-99b4edeccaa2850d2ef3851569b2d16485ef58b5.tar.xz
pttbbs-99b4edeccaa2850d2ef3851569b2d16485ef58b5.tar.zst
pttbbs-99b4edeccaa2850d2ef3851569b2d16485ef58b5.zip
1. remove do_unanonymous_post function. It is almost the same as do_crosspost.
And it didn't touch the btotal. 2. Change setbtotal to touchbtotal at do_crosspost. Because this boards are not popular. To count .DIR every time is needless. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2247 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/syspost.c')
-rw-r--r--mbbsd/syspost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/syspost.c b/mbbsd/syspost.c
index 2d5f9e5d..1070e7c9 100644
--- a/mbbsd/syspost.c
+++ b/mbbsd/syspost.c
@@ -134,7 +134,7 @@ post_violatelaw(char *crime, char *police, char *reason, char *result)
crime, ctime(&now), police, crime, reason, result);
fclose(fp);
snprintf(fhdr.title, sizeof(fhdr.title),
- "[報告] %s:%-*s 判決", crime, 34-strlen(reason)-strlen(crime), reason);
+ "[報告] %s:%-*s 判決", crime, 37-strlen(reason)-strlen(crime), reason);
strlcpy(fhdr.owner, "[Ptt法院]", sizeof(fhdr.owner));
append_record("boards/V/ViolateLaw/.DIR", &fhdr, sizeof(fhdr));