aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cfg_utils.c')
-rw-r--r--src/cfg_utils.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/cfg_utils.c b/src/cfg_utils.c
index 9e3ae4761..87adc7d22 100644
--- a/src/cfg_utils.c
+++ b/src/cfg_utils.c
@@ -960,7 +960,7 @@ read_xml_config (struct config_file *cfg, const gchar *filename)
{
struct stat st;
gint fd;
- gchar *data;
+ gchar *data, *rcl;
gboolean res;
GMarkupParseContext *ctx;
GError *err = NULL;
@@ -994,7 +994,10 @@ read_xml_config (struct config_file *cfg, const gchar *filename)
munmap (data, st.st_size);
- return res;
+ rcl = ucl_object_emit (cfg->rcl_obj, UCL_EMIT_CONFIG);
+ printf ("%s", rcl);
+
+ return FALSE;
}
static void