]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libvirt: Fix crash on URI without scheme
authorCole Robinson <crobinso@redhat.com>
Wed, 20 Apr 2016 17:25:07 +0000 (13:25 -0400)
committerCole Robinson <crobinso@redhat.com>
Thu, 21 Apr 2016 13:29:20 +0000 (09:29 -0400)
commitf1bae376b71ecc712e5d8359382290db1120e13e
tree6f01788fbc79f2d3a1ea512313126f762d4bf2c1
parentac55654e35271d222087896eac21db3eb3987dca
libvirt: Fix crash on URI without scheme

My commit 0d1579572 crashes on a URI without a scheme, like via
'virsh --connect frob'

Add a check on uri->server too while we are at it, and centralize
them all
src/libvirt.c