
# HG changeset patch # User Heidi Eckhart <heidieck@linux.vnet.ibm.com> # Date 1196420558 -3600 # Node ID e28651c07e99cbda1e96ea46c7bc5c06c7b09bb4 # Parent af0383b49185941652cae1b78f6584a8d2664155 Fixes swapped resultClass and assocClass for reference calls In the case of reference or referenceNames calls the client given resultClass needs to be internally handled as assocClass. Signed-off-by: Heidi Eckhart <heidieck@linux.vnet.ibm.com> diff -r af0383b49185 -r e28651c07e99 std_association.c --- a/std_association.c Fri Nov 30 11:56:44 2007 +0100 +++ b/std_association.c Fri Nov 30 12:02:38 2007 +0100 @@ -397,8 +397,8 @@ CMPIStatus stda_ReferenceNames(CMPIAssoc const char *role) { struct std_assoc_info info = { - NULL, resultClass, + NULL, role, NULL, NULL, @@ -418,8 +418,8 @@ CMPIStatus stda_References(CMPIAssociati const char **properties) { struct std_assoc_info info = { - NULL, resultClass, + NULL, role, NULL, properties,