]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: string: Use VIR_AUTOSTRINGLIST instead of VIR_AUTOPTR(virString)
authorPeter Krempa <pkrempa@redhat.com>
Fri, 22 Feb 2019 14:01:02 +0000 (15:01 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 4 Mar 2019 12:04:20 +0000 (13:04 +0100)
commitbd734bbbce8bd25f8aa4fafff1d15758925ebd36
treef61490528598fddf1ab6f059423e5f1f105ec12c
parentdaefda165b28b399478137c75b5466f865c65be5
util: string: Use VIR_AUTOSTRINGLIST instead of VIR_AUTOPTR(virString)

Use of VIR_AUTOPTR and virString is confusing as it's a list and not a
single pointer. Replace it by VIR_AUTOSTRINGLIST as string lists are
basically the only sane NULL-terminated list we can have.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
src/lxc/lxc_process.c
src/qemu/qemu_conf.c
src/storage/storage_backend_sheepdog.c
src/storage/storage_backend_zfs.c
src/util/vircommand.c
src/util/virfirewall.c
src/util/virprocess.c
src/util/virstoragefile.c
src/xenconfig/xen_common.c