# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1205412163 -3600
# Node ID 66cb0be19c8c3432c0484edbb40468817c3fbadd
# Parent 450c46695ca4265d74f2686b64d1be27b96bd3db
ECTP: adopt the changes made to profile.h
Signed-off-by: Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
diff -r 450c46695ca4 -r 66cb0be19c8c src/Virt_ElementConformsToProfile.c
--- a/src/Virt_ElementConformsToProfile.c Thu Mar 13 13:42:32 2008 +0100
+++ b/src/Virt_ElementConformsToProfile.c Thu Mar 13 13:42:43 2008 +0100
@@ -180,6 +180,9 @@ static CMPIStatus elem_to_prof(const CMP
}
for (i = 0; profiles[i] != NULL; i++) {
+ if (profiles[i]->scoping_class == NULL)
+ continue;
+
if (!STREQC(profiles[i]->scoping_class, classname))
continue;