]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Replace virStringListHasString by g_strv_contains
authorPeter Krempa <pkrempa@redhat.com>
Wed, 3 Feb 2021 17:39:47 +0000 (18:39 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 11 Feb 2021 16:05:33 +0000 (17:05 +0100)
commit56cedfcf383e30a7daa393c3cd78f47413b89e09
treebcf2aa6abaa083843b420c8d566bdd9ea06615bf
parentd9f7e87673b02cd0411fda48efeb6d71adc7364c
Replace virStringListHasString by g_strv_contains

The glib variant doesn't accept NULL list, but there's just one caller
where it wasn't checked explicitly, thus there's no need for our own
wrapper.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/lxc/lxc_native.c
src/qemu/qemu_capabilities.c
src/qemu/qemu_process.c
tests/qemumonitorjsontest.c
tools/virsh-completer.c