[PATCH] Update cu_statusf() in get_vsms()

# HG changeset patch # User Kaitlin Rupert <karupert@us.ibm.com> # Date 1203111331 28800 # Node ID cbe6502dfe7f201fa09fd2d3d105babb1c62e573 # Parent 6792d7ab0cc36e99d95b6b8afd50fec887334007 Update cu_statusf() in get_vsms(). Use broker local to function instead of the broker belonging to the provider. Signed-off-by: Kaitlin Rupert <karupert@us.ibm.com> diff -r 6792d7ab0cc3 -r cbe6502dfe7f src/Virt_VSMigrationCapabilities.c --- a/src/Virt_VSMigrationCapabilities.c Fri Feb 15 09:57:43 2008 -0800 +++ b/src/Virt_VSMigrationCapabilities.c Fri Feb 15 13:35:31 2008 -0800 @@ -73,7 +73,7 @@ static CMPIStatus set_method_properties( CMSetProperty(inst, "SynchronousMethodsSupported", (CMPIValue *)&array, CMPI_uint16A); - cu_statusf(_BROKER, &s, + cu_statusf(broker, &s, CMPI_RC_OK, ""); return s; diff -r 6792d7ab0cc3 -r cbe6502dfe7f src/Virt_VSMigrationService.c --- a/src/Virt_VSMigrationService.c Fri Feb 15 09:57:43 2008 -0800 +++ b/src/Virt_VSMigrationService.c Fri Feb 15 13:35:31 2008 -0800 @@ -793,7 +793,7 @@ CMPIStatus get_migration_service(const C CMSetProperty(inst, "SystemCreationClassName", (CMPIValue *)ccname, CMPI_chars); - cu_statusf(_BROKER, &s, + cu_statusf(broker, &s, CMPI_RC_OK, ""); diff -r 6792d7ab0cc3 -r cbe6502dfe7f src/Virt_VirtualSystemManagementService.c --- a/src/Virt_VirtualSystemManagementService.c Fri Feb 15 09:57:43 2008 -0800 +++ b/src/Virt_VirtualSystemManagementService.c Fri Feb 15 13:35:31 2008 -0800 @@ -1235,7 +1235,7 @@ CMPIStatus get_vsms(const CMPIObjectPath goto out; } - cu_statusf(_BROKER, &s, + cu_statusf(broker, &s, CMPI_RC_OK, ""); out:
participants (1)
-
Kaitlin Rupert