On a Monday in 2022, Peter Krempa wrote:
In certain cases it's inconvenient to move the XPAth's context current

*XPath

node in the caller. Add a 'node' argument and override it inside the
function. VIR_XPATH_NODE_AUTORESTORE handles the cleanup.

Signed-off-by: Peter Krempa <[email protected]>
---
src/conf/domain_conf.c | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)

Reviewed-by: Ján Tomko <[email protected]>

Jano

Reply via email to