1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-07 17:28:15 +00:00

Fix a problem introduced by commit 99889012

The meaning of one line of code was accidentally inverted.

Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Geoff Hickey 2013-10-18 14:36:39 -04:00 committed by Eric Blake
parent d9be5a7157
commit 2de2458efa

View File

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