]> git.sur5r.net Git - openldap/commitdiff
SLAP_NVALUES: fix a FIX ME
authorKurt Zeilenga <kurt@openldap.org>
Fri, 28 Feb 2003 05:44:03 +0000 (05:44 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 28 Feb 2003 05:44:03 +0000 (05:44 +0000)
servers/slapd/schema_prep.c

index 5905bb61c84aead02a687efdd8b859a521aeb27f..cadc70d3e92362579de743e87dd7afccb34be296 100644 (file)
@@ -91,14 +91,15 @@ objectSubClassMatch(
        }
 
 #ifdef SLAP_NVALUES
-       assert(0 /* FIX ME */);
+       if( SLAP_MR_IS_VALUE_OF_ATTRIBUTE_SYNTAX( flags ) )
 #else
-       if( SLAP_IS_MR_ATTRIBUTE_SYNTAX_MATCH( flags ) ) {
+       if( SLAP_IS_MR_ATTRIBUTE_SYNTAX_MATCH( flags ) )
+#endif
+       {
                *matchp = ( asserted != oc );
        } else {
                *matchp = !is_object_subclass( asserted, oc );
        }
-#endif
 
 #if OCDEBUG
 #ifdef NEW_LOGGING