diff options
Diffstat (limited to 'mbbsd/syspost.c')
-rw-r--r-- | mbbsd/syspost.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mbbsd/syspost.c b/mbbsd/syspost.c index a44ffdb3..8fdc361c 100644 --- a/mbbsd/syspost.c +++ b/mbbsd/syspost.c @@ -1,4 +1,4 @@ -/* $Id: syspost.c,v 1.17 2003/01/16 13:28:48 kcwu Exp $ */ +/* $Id: syspost.c,v 1.18 2003/01/19 16:06:06 kcwu Exp $ */ #include "bbs.h" int @@ -94,7 +94,8 @@ post_change_perm(int oldperm, int newperm, char *sysopid, char *userid) cuser.userid, userid); strlcpy(fhdr.owner, "[系統安全局]", sizeof(fhdr.owner)); append_record("boards/S/Security/.DIR", &fhdr, sizeof(fhdr)); - } + } else + fclose(fp); } void |