diff options
author | lwms <lwms@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-11-15 13:56:10 +0800 |
---|---|---|
committer | lwms <lwms@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-11-15 13:56:10 +0800 |
commit | 74944ca99f6660037a871b63ec4318001a388f6b (patch) | |
tree | e9b77d5530db2bde48262a922cfa07e618917482 | |
parent | c8c598045c5142fd413909728e074609d824b851 (diff) | |
download | pttbbs-74944ca99f6660037a871b63ec4318001a388f6b.tar pttbbs-74944ca99f6660037a871b63ec4318001a388f6b.tar.gz pttbbs-74944ca99f6660037a871b63ec4318001a388f6b.tar.bz2 pttbbs-74944ca99f6660037a871b63ec4318001a388f6b.tar.lz pttbbs-74944ca99f6660037a871b63ec4318001a388f6b.tar.xz pttbbs-74944ca99f6660037a871b63ec4318001a388f6b.tar.zst pttbbs-74944ca99f6660037a871b63ec4318001a388f6b.zip |
remove post_violatelaw to Security
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@574 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/syspost.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/syspost.c b/pttbbs/mbbsd/syspost.c index 0a527f22..36939485 100644 --- a/pttbbs/mbbsd/syspost.c +++ b/pttbbs/mbbsd/syspost.c @@ -1,4 +1,4 @@ -/* $Id: syspost.c,v 1.15 2002/07/22 19:02:00 in2 Exp $ */ +/* $Id: syspost.c,v 1.16 2002/11/15 05:56:10 lwms Exp $ */ #include "bbs.h" void @@ -50,6 +50,7 @@ post_violatelaw(char *crime, char *police, char *reason, char *result) char genbuf[200]; fileheader_t fhdr; FILE *fp; +/* strlcpy(genbuf, "boards/S/Security", sizeof(genbuf)); stampfile(genbuf, &fhdr); if (!(fp = fopen(genbuf, "w"))) @@ -66,6 +67,7 @@ post_violatelaw(char *crime, char *police, char *reason, char *result) strlcpy(fhdr.owner, "[PttĒk°|]", sizeof(fhdr.owner)); append_record("boards/S/Security/.DIR", &fhdr, sizeof(fhdr)); +*/ strlcpy(genbuf, "boards/V/ViolateLaw", sizeof(genbuf)); stampfile(genbuf, &fhdr); if (!(fp = fopen(genbuf, "w"))) |