diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-05-03 23:19:01 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-05-03 23:19:01 +0800 |
commit | 923905e83ad2d075f0d40125e8acbd0ca88ea938 (patch) | |
tree | bd8287047cf35c6c7e1e98057876d7be07e470a3 /mbbsd/talk.c | |
parent | 79890093f845d2c70ffec2e0699700380e623cd8 (diff) | |
download | pttbbs-923905e83ad2d075f0d40125e8acbd0ca88ea938.tar pttbbs-923905e83ad2d075f0d40125e8acbd0ca88ea938.tar.gz pttbbs-923905e83ad2d075f0d40125e8acbd0ca88ea938.tar.bz2 pttbbs-923905e83ad2d075f0d40125e8acbd0ca88ea938.tar.lz pttbbs-923905e83ad2d075f0d40125e8acbd0ca88ea938.tar.xz pttbbs-923905e83ad2d075f0d40125e8acbd0ca88ea938.tar.zst pttbbs-923905e83ad2d075f0d40125e8acbd0ca88ea938.zip |
in log_file(), use LOG_VF if need to vfprintf().
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1921 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r-- | mbbsd/talk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c index 8c0c2ec3..bea9480d 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -2317,7 +2317,7 @@ userlist(void) outs("\033[41m ²{ª÷¤£¨¬~~\033[m"); } else { deumoney(uentp->uid, ch - give_tax(ch)); - log_file(FN_MONEY, 1, + log_file(FN_MONEY, LOG_CREAT | LOG_VF, "%s\tµ¹%s\t%d\t%s\n", cuser.userid, uentp->userid, ch, ctime(&currutmp->lastact)); mail_redenvelop(cuser.userid, uentp->userid, |