From e9cd9c61e4ceecd8d4a5d23dfbe7c9adb1173809 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Wed, 12 Oct 2005 07:53:08 +0000 Subject: [PATCH] Parse "Debug" sexyz.ini key after "LogLevel" key. --- src/sbbs3/sexyz.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sbbs3/sexyz.c b/src/sbbs3/sexyz.c index df70d406ea..b6ae20d10b 100644 --- a/src/sbbs3/sexyz.c +++ b/src/sbbs3/sexyz.c @@ -1313,9 +1313,6 @@ int main(int argc, char **argv) tcp_nodelay =iniReadBool(fp,ROOT_SECTION,"TCP_NODELAY",TRUE); - if(iniReadBool(fp,ROOT_SECTION,"Debug",FALSE)) - log_level=LOG_DEBUG; - telnet =iniReadBool(fp,ROOT_SECTION,"Telnet",TRUE); debug_tx =iniReadBool(fp,ROOT_SECTION,"DebugTx",FALSE); debug_rx =iniReadBool(fp,ROOT_SECTION,"DebugRx",FALSE); @@ -1332,6 +1329,9 @@ int main(int argc, char **argv) progress_interval =iniReadInteger(fp,ROOT_SECTION,"ProgressInterval",1); + if(iniReadBool(fp,ROOT_SECTION,"Debug",FALSE)) + log_level=LOG_DEBUG; + xm.send_timeout =iniReadInteger(fp,"Xmodem","SendTimeout",xm.send_timeout); /* seconds */ xm.recv_timeout =iniReadInteger(fp,"Xmodem","RecvTimeout",xm.recv_timeout); /* seconds */ xm.byte_timeout =iniReadInteger(fp,"Xmodem","ByteTimeout",xm.byte_timeout); /* seconds */ -- GitLab