]> git.ipfire.org Git - thirdparty/libvirt.git/commit
internal: Introduce virCheckNonEmptyStringArgGoto and reuse it
authorPeter Krempa <pkrempa@redhat.com>
Tue, 23 Jun 2015 15:35:16 +0000 (17:35 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 26 Jun 2015 14:05:10 +0000 (16:05 +0200)
commit14062e6fe5a71699b85fbbbb1cada2a42cd48dbb
tree5f9695e24466c8f8ded55b1af1f235fc6ee84a85
parentd637017f9b2b6297cd88975c92e377f04fce0671
internal: Introduce virCheckNonEmptyStringArgGoto and reuse it

The helper makes sure that strings passed to APIs are non-NULL and
non-empty. This allows to drop some inlined checks where it does not
make sense.
src/internal.h
src/libvirt-domain.c
src/qemu/qemu_driver.c
src/util/virerror.h