Mercurial > hg > nnchat
changeset 248:9fcb55bc1366
Automated merge with file:///hg/nnchat
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 20 Apr 2011 19:00:15 +0300 |
parents | ffe9051c9b47 (current diff) fce4e2e31d69 (diff) |
children | 51319822ae92 |
files | |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/nnchat.c Wed Apr 20 18:57:03 2011 +0300 +++ b/nnchat.c Wed Apr 20 19:00:15 2011 +0300 @@ -1081,9 +1081,10 @@ tmpcfg = NULL; th_cfg_add_comment(&tmpcfg, "Enable logging"); - th_cfg_add_bool(&tmpcfg, "log", &optLogEnable, optLogEnable); + th_cfg_add_bool(&tmpcfg, "enable", &optLogEnable, optLogEnable); th_cfg_add_comment(&tmpcfg, "Log filename format"); - th_cfg_add_string(&tmpcfg, "logformat", &optLogFilename, optLogFilename); + th_cfg_add_string(&tmpcfg, "filename", &optLogFilename, optLogFilename); + th_cfg_add_section(&cfg, "logging", tmpcfg); #ifdef __WIN32 {