src/server/daemon/config.c

changeset 629
1e1da9adc532
parent 625
a1e8a35c677a
child 635
b85d45fd3b01
--- a/src/server/daemon/config.c	Wed Nov 12 18:15:26 2025 +0100
+++ b/src/server/daemon/config.c	Wed Nov 12 18:18:05 2025 +0100
@@ -1047,7 +1047,7 @@
     return 0;
 }
 
-static int convert_objconf(ServerConfiguration *scfg, ObjectConfig2 *cfg, HTTPObjectConfig *conf, cxmutstr file) {
+static int convert_objconf(ServerConfiguration *scfg, ObjectConfig *cfg, HTTPObjectConfig *conf, cxmutstr file) {
     pool_handle_t *pool = conf->pool;
     
     int condition_index = 0;
@@ -1116,7 +1116,7 @@
     conf->pool = pool;
     
     // load obj config file
-    ObjectConfig2 *cfg = objectconf_load(file.ptr);
+    ObjectConfig *cfg = objectconf_load(file.ptr);
     if(!cfg) {
         return NULL;
     }

mercurial