Merge github.com:vysheng/tg

This commit is contained in:
Vysheng 2013-12-02 21:19:45 +04:00
commit 019e80c681

4
main.c
View file

@ -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");