]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virXMLParseHelper: Store XML parsing flags in a variable
authorMichal Privoznik <mprivozn@redhat.com>
Sat, 18 Nov 2023 03:17:47 +0000 (04:17 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 21 Nov 2023 13:43:39 +0000 (14:43 +0100)
commit1beb69df877596fe57efc8d8a117a30a72e5d04e
tree8a118fd68957aa6e2907701897fa527fcdaaac8e
parent7a5f232be2269e74943a029c0e8b1b0124674a6c
virXMLParseHelper: Store XML parsing flags in a variable

The virXMLParseHelper() can work in two modes: either it parses a
file or a string. Either way, the same set of flags is specified
in call of corresponding function. Save flags in a local variable
instead.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/virxml.c