KR> # HG changeset patch
KR> # User Kaitlin Rupert <karupert(a)us.ibm.com>
KR> # Date 1196370791 28800
KR> # Node ID f849a60bc19bfabb37ef2f9184c88d5200cc3ee7
KR> # Parent c478a5b30689a80159588c8f914ac97263694372
KR> Fix issue with VSMC enum.
Thanks, applied.
KR> + s = get_host_cs(_BROKER, ref, &inst);
KR> + if (s.rc != CMPI_RC_OK)
KR> + goto out;
KR> +
KR> + if (cu_get_str_prop(inst, "Name", &hostname) != CMPI_RC_OK)
KR> + goto out;
It's even cleaner this way, right? :)
With the recent API change, you don't even have to free something,
which I think is pretty nifty.
--
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms(a)us.ibm.com