[core] Don't print debug message about config parser when there's no problem
This commit is contained in:
parent
e1193ec9f6
commit
cd10b26497
|
@ -129,7 +129,9 @@ int main(int argc, char *argv[]) {
|
|||
millis = (d - s) / 1000;
|
||||
micros = (d - s - millis) %1000;
|
||||
DEBUG(srv, "parsed config file in %lu seconds, %lu milliseconds, %lu microseconds", s, millis, micros);
|
||||
DEBUG(srv, "option_stack: %u action_list_stack: %u (should be 0:1)", g_queue_get_length(ctx->option_stack), g_queue_get_length(ctx->action_list_stack));
|
||||
|
||||
if (g_queue_get_length(ctx->option_stack) != 0 || g_queue_get_length(ctx->action_list_stack))
|
||||
DEBUG(srv, "option_stack: %u action_list_stack: %u (should be 0:1)", g_queue_get_length(ctx->option_stack), g_queue_get_length(ctx->action_list_stack));
|
||||
|
||||
config_parser_finish(srv, ctx_stack, FALSE);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue