stricter xml populate made some cornercase errors appear

This commit is contained in:
Olof hagsand 2020-03-05 11:56:13 +01:00
parent bab3b5ad56
commit 3855508622
4 changed files with 17 additions and 5 deletions

View file

@ -365,7 +365,7 @@ api_data_write(clicon_handle h,
*/
if ((xdata0 = xml_new("data0", NULL, NULL)) == NULL)
goto done;
{ /* XXX mv to copy? */
if (api_path){ /* XXX mv to copy? */
cxobj *xfrom;
cxobj *xac;