X-Git-Url: https://uglyman.kremlin.cc/gitweb/gitweb.cgi?a=blobdiff_plain;f=src%2Fconfig.c;h=21396a522c8e0f91de4ade1972a2422ecb33b829;hb=94dc7ef01374157347d95a4801704f5848649d83;hp=7469e676534e14fb5dd0716b4ae5abde1d5da359;hpb=36961b20f9c3d6698db46c1bea91ed93f7122d9c;p=systembsd.git diff --git a/src/config.c b/src/config.c index 7469e67..21396a5 100644 --- a/src/config.c +++ b/src/config.c @@ -41,7 +41,7 @@ gboolean set_option(gchar *key, gchar *value, gchar *group) { if(!g_key_file_get_string(config, group, key, NULL)) return FALSE; - //TODO safteycheck value + /* TODO safteycheck value */ g_key_file_set_string(config, group, key, value); return TRUE; } @@ -62,7 +62,7 @@ gboolean config_init() { config_path = "/etc/systemd_compat.conf"; config_lstat_ret = g_lstat(config_path, config_lstat); - /* this should all be handled in the makefile + /* this should all be handled in the makefile * does conf exist? if(config_lstat_ret) { @@ -100,7 +100,7 @@ gboolean config_init() { if(g_access(config_path, W_OK)) { - g_printf("%s\n", "no write permissions for /etc/! exiting.."); + g_printf("%s\n", "no write permissions for /etc/! exiting.."); return FALSE; } else if(g_key_file_load_from_file(config, config_path, G_KEY_FILE_KEEP_COMMENTS, NULL)) @@ -165,7 +165,7 @@ gboolean init_xml() { void clean_config() { - //TODO g_ptr_array all of this + /* TODO g_ptr_array all of this */ g_free(config); g_free(data_dir); g_close(config_descr, NULL);