mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 13:05:27 +00:00
esx_vi: return -1 upon failure, as intended
* src/esx/esx_vi.c (esxVI_Enumeration_Deserialize): Fix reversed goto and result=-1 statements.
This commit is contained in:
parent
0fa4d62986
commit
8ed3088441
@ -856,9 +856,8 @@ esxVI_Enumeration_Deserialize(virConnectPtr conn,
|
||||
return result;
|
||||
|
||||
failure:
|
||||
goto cleanup;
|
||||
|
||||
result = -1;
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user