]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vbox: invert condition in vboxSnapshotGetReadOnlyDisks
authorJán Tomko <jtomko@redhat.com>
Sun, 4 Oct 2020 21:18:06 +0000 (23:18 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 5 Oct 2020 12:29:41 +0000 (14:29 +0200)
commit5ee7714b574bee17b000e517df89f263f14b1ebd
treec4b19948083ed7e486b8e2dee5365cc3bda7bae1
parent4a1f4e898b0b0c4666a9c54c892884564bc27544
vbox: invert condition in vboxSnapshotGetReadOnlyDisks

Error out on (impossible) failed allocation, to reduce
indentation.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
src/vbox/vbox_common.c