Now that we have request->root, we don't need to call
authoraland <aland>
Wed, 26 Sep 2007 13:24:34 +0000 (13:24 +0000)
committeraland <aland>
Wed, 26 Sep 2007 13:24:34 +0000 (13:24 +0000)
cf_section_find(NULL)

src/main/mainconfig.c

index def20fc..7c8980c 100644 (file)
@@ -336,7 +336,7 @@ static int xlat_config(void *instance, REQUEST *request,
        }
        argv[argc] = NULL;
 
-       cs = cf_section_find(NULL); /* get top-level section */
+       cs = request->root->config;
 
        /*
         *      Root through section & subsection references.