On 04/30/2012 12:38 PM, Eric Blake wrote:
The previous storage patch missed an instance affected by the struct
member rename.
@@ -589,11 +589,13 @@
virStorageBackendISCSIFindPoolSources(virConnectPtr conn ATTRIBUTE_UNUSED,
}
for (i = 0 ; i< ntargets ; i++) {
- if (VIR_ALLOC_N(list.sources[i].devices, 1)< 0) {
+ if (VIR_ALLOC_N(list.sources[i].devices, 1)< 0 ||
+ VIR_ALLOC_N(list.sources[i].hosts, 1)) {
Nit: '< 0'.
Stefan