Commit bfc7a7e1 authored by Vysheng's avatar Vysheng

Merge github.com:vysheng/tg

parents 8a39f039 2426f8f7
......@@ -272,7 +272,9 @@ void parse_config (void) {
config_lookup_bool (&conf, buf, &test_dc);
strcpy (buf + l, "log_level");
config_lookup_int (&conf, buf, &log_level);
long long t = log_level;
config_lookup_int (&conf, buf, (void *)&t);
log_level = t;
if (!msg_num_mode) {
strcpy (buf + l, "msg_num");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment