提交 2de2458e 编写于 作者: G Geoff Hickey 提交者: Eric Blake

Fix a problem introduced by commit 99889012

The meaning of one line of code was accidentally inverted.
Signed-off-by: NEric Blake <eblake@redhat.com>
上级 d9be5a71
...@@ -1003,7 +1003,7 @@ esxConnectOpen(virConnectPtr conn, virConnectAuthPtr auth, ...@@ -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",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册