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 | 64f4260e432c06146fc866eb5c74449a59f3deeb (patch) | |
tree | cd3ce1981c16efab8c62584c7ea275398357b935 /mbbsd/syspost.c | |
parent | c8515568f4ab7c16c22ec5e5c2aafd897d1fcb49 (diff) | |
download | pttbbs-64f4260e432c06146fc866eb5c74449a59f3deeb.tar pttbbs-64f4260e432c06146fc866eb5c74449a59f3deeb.tar.gz pttbbs-64f4260e432c06146fc866eb5c74449a59f3deeb.tar.bz2 pttbbs-64f4260e432c06146fc866eb5c74449a59f3deeb.tar.lz pttbbs-64f4260e432c06146fc866eb5c74449a59f3deeb.tar.xz pttbbs-64f4260e432c06146fc866eb5c74449a59f3deeb.tar.zst pttbbs-64f4260e432c06146fc866eb5c74449a59f3deeb.zip |
remove post_violatelaw to Security
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@574 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/syspost.c')
-rw-r--r-- | mbbsd/syspost.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/syspost.c b/mbbsd/syspost.c index 0a527f22..36939485 100644 --- a/mbbsd/syspost.c +++ b/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"))) |