Removed prefix parameter to xml_new
Added xml_new_body() by mgsmith
This commit is contained in:
parent
d36ab2e093
commit
c5e2039cac
26 changed files with 167 additions and 113 deletions
|
|
@ -147,7 +147,7 @@ main(int argc,
|
|||
if ((h = clicon_handle_init()) == NULL)
|
||||
goto done;
|
||||
/* Initialize config tree (needed for -Y below) */
|
||||
if ((xcfg = xml_new("clixon-config", NULL, NULL, CX_ELMNT)) == NULL)
|
||||
if ((xcfg = xml_new("clixon-config", NULL, CX_ELMNT)) == NULL)
|
||||
goto done;
|
||||
if (clicon_conf_xml_set(h, xcfg) < 0)
|
||||
goto done;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue