conf - process includes even if not at root node.

pull/1492/merge
Jason Ish 11 years ago committed by Victor Julien
parent 56f6e37304
commit 9fdae82815

@ -244,9 +244,7 @@ ConfYamlParse(yaml_parser_t *parser, ConfNode *parent, int inseq)
}
else if (state == CONF_KEY) {
/* Top level include statements. */
if ((strcmp(value, "include") == 0) &&
(parent == ConfGetRootNode())) {
if (strcmp(value, "include") == 0) {
state = CONF_INCLUDE;
goto next;
}

Loading…
Cancel
Save