src/server/plugins/postgresql/config.c

changeset 418
b7dcc9c4f270
parent 415
d938228c382e
child 490
d218607f5a7e
--- a/src/server/plugins/postgresql/config.c	Sun Nov 06 17:41:39 2022 +0100
+++ b/src/server/plugins/postgresql/config.c	Mon Nov 07 17:59:44 2022 +0100
@@ -95,10 +95,10 @@
         return NULL;
     }
     
-    cxstring cfg_respool = serverconfig_directive_value(pg, cx_str("ResourcePool"));
-    cxstring cfg_rootid = serverconfig_directive_value(pg, cx_str("RootId"));
-    cxstring cfg_rootnode = serverconfig_directive_value(pg, cx_str("RootNode"));
-    cxstring cfg_dav = serverconfig_directive_value(pg, cx_str("PGDavConfig"));
+    cxstring cfg_respool = serverconfig_object_directive_value(pg, cx_str("ResourcePool"));
+    cxstring cfg_rootid = serverconfig_object_directive_value(pg, cx_str("RootId"));
+    cxstring cfg_rootnode = serverconfig_object_directive_value(pg, cx_str("RootNode"));
+    cxstring cfg_dav = serverconfig_object_directive_value(pg, cx_str("PGDavConfig"));
     
     // minimum requirement is a resource pool
     if(cfg_respool.length == 0) {

mercurial