* C-API: Added clicon_handle parameter to all xml_bind_* calls

This commit is contained in:
Olof hagsand 2023-01-27 10:59:20 +01:00 committed by Olof Hagsand
parent da9bfcbb53
commit 51ebbdf12f
21 changed files with 102 additions and 62 deletions

View file

@ -229,7 +229,7 @@ netconf_rpc_message(clicon_handle h,
*eof = 1;
goto ok;
}
if ((ret = xml_bind_yang_rpc(xrpc, yspec, &xret)) < 0)
if ((ret = xml_bind_yang_rpc(h, xrpc, yspec, &xret)) < 0)
goto done;
if (ret > 0 &&
(ret = xml_yang_validate_rpc(h, xrpc, 0, &xret)) < 0)