]> git.sur5r.net Git - openldap/commitdiff
Fix abstract oc check
authorKurt Zeilenga <kurt@openldap.org>
Thu, 22 Aug 2002 02:31:30 +0000 (02:31 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 22 Aug 2002 02:31:30 +0000 (02:31 +0000)
servers/slapd/schema_check.c

index a2a3e6455e23f49fc9f963f1cc7aa9b611bde583..4e1a17f920c9c8de32cd7cc62597160748f429d2 100644 (file)
@@ -262,10 +262,9 @@ entry_schema_check(
                                                if ( xc->soc_kind == LDAP_SCHEMA_AUXILIARY &&
                                                        is_object_subclass( oc, xc ) )
                                                {
-                                                       break;;
+                                                       xc = NULL;
+                                                       break;
                                                }
-
-                                               xc = NULL;
                                        }
                                }