]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Fix virConnectOpen.*() name requirements
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 25 Mar 2013 15:50:27 +0000 (16:50 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 26 Mar 2013 14:44:32 +0000 (15:44 +0100)
commitd8ed386c07f24c3bcea2989aca0b86c1c10a2fb6
tree273f162fbdf8937227a138551e9930a4a72b4e9e
parent6af9c564c04a3560d91eef9181c55b7363982f61
Fix virConnectOpen.*() name requirements

virConnectOpenAuth didn't require 'name' to be specified (VIR_DEBUG
used NULLSTR() for the output) and by default, if name == NULL, the
default connection uri is used.  This was not indicated in the
documentation and wasn't checked for in other API's VIR_DEBUG outputs.
src/libvirt.c