diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-25 19:17:55 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-25 19:17:55 +0800 |
commit | 3bf522b143e8bd77046531e4636e3a0b4c510188 (patch) | |
tree | 66f27014776adc79555ee38f4a8de80e18b07811 /util/deluserfile.c | |
parent | c5cd856ffb6076093e0eaf8186c6f4905a105989 (diff) | |
download | pttbbs-3bf522b143e8bd77046531e4636e3a0b4c510188.tar pttbbs-3bf522b143e8bd77046531e4636e3a0b4c510188.tar.gz pttbbs-3bf522b143e8bd77046531e4636e3a0b4c510188.tar.bz2 pttbbs-3bf522b143e8bd77046531e4636e3a0b4c510188.tar.lz pttbbs-3bf522b143e8bd77046531e4636e3a0b4c510188.tar.xz pttbbs-3bf522b143e8bd77046531e4636e3a0b4c510188.tar.zst pttbbs-3bf522b143e8bd77046531e4636e3a0b4c510188.zip |
remode savemode
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@219 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/deluserfile.c')
-rw-r--r-- | util/deluserfile.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/util/deluserfile.c b/util/deluserfile.c index 63cfefba..3cf226bb 100644 --- a/util/deluserfile.c +++ b/util/deluserfile.c @@ -1,4 +1,4 @@ -/* $Id: deluserfile.c,v 1.1 2002/03/07 15:13:45 in2 Exp $ */ +/* $Id: deluserfile.c,v 1.2 2002/05/25 11:17:55 ptt Exp $ */ /* 自動砍user目錄檔案程式 */ #include <stdio.h> @@ -61,8 +61,7 @@ void del_file(char *userid) fileheader_t mymail; stampfile(buf, &mymail); - mymail.savemode = 'H'; /* hold-mail flag */ - mymail.filemode = FILE_READ; + mymail.filemode = FILE_READ|FILE_HOLD; strcpy(mymail.owner, userid); strcpy(mymail.title, "熱線記錄"); sprintf(buf1, BBSHOME "/home/%c/%s/writelog", |