diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-05-08 15:59:32 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-05-08 15:59:32 +0800 |
commit | 133c8925067a703dfef58607fd2ca636fa3b2922 (patch) | |
tree | deb7f25fdecaaba2f7dc6c57023fb97a79325ca8 /mbbsd/more.c | |
parent | ba4849655123ccf17feb52aea447a4b52a114928 (diff) | |
download | pttbbs-133c8925067a703dfef58607fd2ca636fa3b2922.tar pttbbs-133c8925067a703dfef58607fd2ca636fa3b2922.tar.gz pttbbs-133c8925067a703dfef58607fd2ca636fa3b2922.tar.bz2 pttbbs-133c8925067a703dfef58607fd2ca636fa3b2922.tar.lz pttbbs-133c8925067a703dfef58607fd2ca636fa3b2922.tar.xz pttbbs-133c8925067a703dfef58607fd2ca636fa3b2922.tar.zst pttbbs-133c8925067a703dfef58607fd2ca636fa3b2922.zip |
- (internal) replace ctime4 by Cdate, prevent developer confused by the the trailing '\n'.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4278 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/more.c')
-rw-r--r-- | mbbsd/more.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/more.c b/mbbsd/more.c index 5422c0bd..e758c82c 100644 --- a/mbbsd/more.c +++ b/mbbsd/more.c @@ -42,8 +42,8 @@ int more(const char *fpath, int promptend) #endif // BN_SECURITY log_filef("log/security", LOG_CREAT, - "%u %24.24s %d %s admin edit file=%s\n", - (int)now, ctime4(&now), getpid(), cuser.userid, fpath); + "%u %s %d %s admin edit file=%s\n", + (int)now, Cdate(&now), getpid(), cuser.userid, fpath); // no need to allow anything... // at least, no need to change title. |