xml_print

This commit is contained in:
Olof Hagsand 2016-04-17 17:52:48 +02:00
parent 55201c9b4a
commit dfa30aa39c
12 changed files with 101 additions and 27 deletions

View file

@ -636,7 +636,7 @@ xmldb_from_client(clicon_handle h,
if (clicon_xml_parse_string(&str, &xrq) < 0)
goto done;
if (debug)
clicon_xml2file(stderr, xrq, 0, 1);
xml_print(stderr, xrq);
if ((xr = xpath_first(xrq, "rpc")) != NULL){
if ((x = xpath_first(xr, "get")) != NULL){
if (xmldb_from_get(h, s, x) < 0)