提交 8ed30884 编写于 作者: M Matthias Bolte 提交者: Jim Meyering

esx_vi: return -1 upon failure, as intended

* src/esx/esx_vi.c (esxVI_Enumeration_Deserialize): Fix
reversed goto and result=-1 statements.
上级 0fa4d629
......@@ -856,9 +856,8 @@ esxVI_Enumeration_Deserialize(virConnectPtr conn,
return result;
failure:
goto cleanup;
result = -1;
goto cleanup;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册