X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=apps%2Fsilcd%2Fserver.c;h=f5a2ffe71fd2d1fcb9d9ac48ca36d3541245f459;hp=cf5ddde8a3c2f1cb4a774b270240e9a459597f45;hb=d1e71f42379e8b5cd0748a7aeae8561b02cfe53d;hpb=34bb35a2496ec0402bb4d6c2546147cd37b27007 diff --git a/apps/silcd/server.c b/apps/silcd/server.c index cf5ddde8..f5a2ffe7 100644 --- a/apps/silcd/server.c +++ b/apps/silcd/server.c @@ -295,7 +295,7 @@ bool silc_server_init(SilcServer server) #ifdef SILC_DEBUG /* Set debugging on if configured */ if (server->config->debug_string) { - silc_debug = TRUE; + silc_log_debug(TRUE); silc_log_set_debug_string(server->config->debug_string); } #endif /* SILC_DEBUG */ @@ -572,7 +572,7 @@ bool silc_server_rehash(SilcServer server) SILC_LOG_INFO(("Rehashing server")); /* Reset the logging system */ - silc_log_quick = TRUE; + silc_log_quick(TRUE); silc_log_flush_all(); /* Start the main rehash phase (read again the config file) */ @@ -764,7 +764,7 @@ bool silc_server_rehash(SilcServer server) #ifdef SILC_DEBUG /* Set debugging on if configured */ if (server->config->debug_string) { - silc_debug = TRUE; + silc_log_debug(TRUE); silc_log_set_debug_string(server->config->debug_string); } #endif /* SILC_DEBUG */