From: Geoff Hickey Date: Fri, 18 Oct 2013 18:36:39 +0000 (-0400) Subject: Fix a problem introduced by commit 99889012 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=2de2458efafc5c16876c01d453bd79fd222b2ba7;p=libvirt.git Fix a problem introduced by commit 99889012 The meaning of one line of code was accidentally inverted. Signed-off-by: Eric Blake --- diff --git a/src/esx/esx_driver.c b/src/esx/esx_driver.c index 5d8baa5048..886d984216 100644 --- a/src/esx/esx_driver.c +++ b/src/esx/esx_driver.c @@ -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",