# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1205489076 -3600
# Node ID 02c3b6c131b678f1bf68cb92b533794ae1dc9940
# Parent c999b77057ddaf774c3519f0d4ccca892f32af57
ECTP: adopt the changes made to profile.h
Signed-off-by: Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
diff -r c999b77057dd -r 02c3b6c131b6 src/Virt_ElementConformsToProfile.c
--- a/src/Virt_ElementConformsToProfile.c Fri Mar 14 11:04:19 2008 +0100
+++ b/src/Virt_ElementConformsToProfile.c Fri Mar 14 11:04:36 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;