summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index f8b500dc..90cd07c6 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1374,14 +1374,13 @@ edit_post(int ent, fileheader_t * fhdr, const char *direct)
if (strcmp(fhdr->owner, cuser.userid) != EQUSTR)
{
- time4_t t = time4(NULL);
if (!HasUserPerm(PERM_SYSOP))
return DONOTHING;
// admin edit!
log_filef("log/security", LOG_CREAT,
"%d %24.24s %d %s admin edit (board) file=%s\n",
- t, ctime4(&t), getpid(), cuser.userid, fpath);
+ (int)now, ctime4(&now), getpid(), cuser.userid, fpath);
}
# ifdef GLOBAL_BBSMOVIE