]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix a problem introduced by commit 99889012
authorGeoff Hickey <ghickey@datagravity.com>
Fri, 18 Oct 2013 18:36:39 +0000 (14:36 -0400)
committerEric Blake <eblake@redhat.com>
Fri, 18 Oct 2013 18:44:05 +0000 (12:44 -0600)
The meaning of one line of code was accidentally inverted.

Signed-off-by: Eric Blake <eblake@redhat.com>
src/esx/esx_driver.c

index 5d8baa5048757c8733c5b5d2aaa5dff9d68e7f46..886d984216f7dc9219a70925068bc4152050e910 100644 (file)
@@ -1003,7 +1003,7 @@ esxConnectOpen(virConnectPtr conn, virConnectAuthPtr auth,
         }
 
         /* Connect to vCenter */
-        if (!priv->parsedUri->vCenter) {
+        if (priv->parsedUri->vCenter) {
             if (STREQ(priv->parsedUri->vCenter, "*")) {
                 if (!potentialVCenterIpAddress) {
                     virReportError(VIR_ERR_INTERNAL_ERROR, "%s",