Support namespace in the config interface.
[cascardo/atompub.git] / backend / files / giochannel.c
index 94f8e77..669165f 100644 (file)
@@ -22,7 +22,7 @@
 
 gchar *giochannel_iri_to_filename (AtomCtx *ctx, IRI *iri)
 {
-  gchar *root = atom_config_get_str (ctx, "root");
+  gchar *root = atom_config_get_str (ctx, "giochannel", "root");
   gchar *path = iri_get_path (iri);
   gchar *filename = g_build_filename (root, path, NULL);
   g_free (root);