]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: xml: Enforce return value check from virXMLFormatElement
authorPeter Krempa <pkrempa@redhat.com>
Fri, 22 Feb 2019 16:36:23 +0000 (17:36 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 6 Mar 2019 14:53:51 +0000 (15:53 +0100)
commit5a690f695fe82d202aa979da21ce143c64104f59
tree1dc5b3066d29443ae4e40a04b1403e993699d226
parenta1dec315c9ad87a198245db0077ef80778621392
util: xml: Enforce return value check from virXMLFormatElement

The function does not transfer errors from 'attrBuf' and 'childBuf'
arguments into 'buf', but rather reports them right away, thus we need
to make sure that it's always checked.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/virxml.h