summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorlwms <lwms@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-11-15 13:56:10 +0800
committerlwms <lwms@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-11-15 13:56:10 +0800
commit64f4260e432c06146fc866eb5c74449a59f3deeb (patch)
treecd3ce1981c16efab8c62584c7ea275398357b935 /mbbsd
parentc8515568f4ab7c16c22ec5e5c2aafd897d1fcb49 (diff)
downloadpttbbs-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')
-rw-r--r--mbbsd/syspost.c4
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")))