In the XML parsing in parse_configfile_one() we have the following loop.
The problem with the loop is that you can't "ignore" the nodes by just doing a continue. They need to be deleted from xe so that the next call to examine the head of the vector:
while ((xec = xml_child_i_type(xe, 0, CX_ELMNT)) != NULL) {
doesn't find them still there. We need to do a xml_child_rm() to remove them from xe before continuing the loop.
In the XML parsing in
parse_configfile_one()
we have the following loop.The problem with the loop is that you can't "ignore" the nodes by just doing a
continue
. They need to be deleted fromxe
so that the next call to examine the head of the vector:doesn't find them still there. We need to do a
xml_child_rm()
to remove them fromxe
before continuing the loop.