diff options
Diffstat (limited to 'src/main.c')
-rwxr-xr-x | src/main.c | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -106,7 +106,7 @@ static struct { char *def_wifi_ifname; bool file_log; bool dlog_log; - bool simplified_log; + bool simple_log; #endif } connman_settings = { .bg_scan = true, @@ -139,7 +139,7 @@ static struct { .def_wifi_ifname = DEFAULT_WIFI_INTERFACE, .file_log = true, .dlog_log = true, - .simplified_log = true, + .simple_log = true, #endif }; @@ -695,7 +695,7 @@ static void check_Tizen_configuration(GKeyFile *config) boolean = __connman_config_get_bool(config, "General", CONF_CONNMAN_SIMPLIFIED_LOG, &error); if (!error) - connman_settings.simplified_log = boolean; + connman_settings.simple_log = boolean; g_clear_error(&error); @@ -940,10 +940,11 @@ static int config_init(const char *file) parse_config(config); if (config) g_key_file_free(config); + #if defined TIZEN_EXT - dlog_logging = connman_settings.dlog_log; - file_logging = connman_settings.file_log; - simplified_log = connman_settings.simplified_log; + set_simple_log_option(connman_settings.simple_log); + set_dlog_logging_option(connman_settings.dlog_log); + set_file_logging_option(connman_settings.file_log); #endif return 0; } @@ -1179,7 +1180,7 @@ bool connman_setting_get_bool(const char *key) return connman_settings.dlog_log; if (g_str_equal(key, CONF_CONNMAN_SIMPLIFIED_LOG)) - return connman_settings.simplified_log; + return connman_settings.simple_log; #endif #if defined TIZEN_EXT |