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/read.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/read.c')
-rw-r--r-- | mbbsd/read.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c index c2c33111..b732ac0c 100644 --- a/mbbsd/read.c +++ b/mbbsd/read.c @@ -353,7 +353,8 @@ select_read(keeploc_t * locmem, int sr_mode) keyword, TTLEN, DOECHO)) return READ_REDRAW; #ifdef KEYWORD_LOG - log_file("keyword_search_log", 1, "%s:%s\n", currboard, keyword); + log_file("keyword_search_log", LOG_CREAT | LOG_VF, + "%s:%s\n", currboard, keyword); #endif } else |