Dan Smith wrote:
- sys_name = cu_get_str_path(ref, "Name");
- if (!STREQ(sys_name, host_name)) {
+ if (cu_get_str_path(ref, "Name", &sys_name) != CMPI_RC_OK) {
cu_statusf(_BROKER, &s, CMPI_RC_ERR_FAILED,
"System '%s' is not a host system.",
sys_name);
goto out;
You're removing the check that confirms the sys_name and host_name
match. This looks like it's trying to filter out any potential domains
that might be passed in as a ref. Is this check no longer necessary?
--
Kaitlin Rupert
IBM Linux Technology Center
karupert(a)us.ibm.com