]> git.sur5r.net Git - openldap/commitdiff
cleanup
authorKurt Zeilenga <kurt@openldap.org>
Thu, 30 Oct 2003 22:44:45 +0000 (22:44 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 30 Oct 2003 22:44:45 +0000 (22:44 +0000)
servers/slapd/schema_check.c

index 8c6f50e62cfc4b8327c9ae7bfe1eb817f1783a81..5634962c2737e56184717a98151850e761192a1e 100644 (file)
@@ -227,14 +227,14 @@ entry_schema_check(
        }
 
        /* naming check */
-        if ( !is_entry_objectclass ( e, slap_schema.si_oc_glue, 0 ) ) {
-                rc = entry_naming_check( e, text, textbuf, textlen );
-                if( rc != LDAP_SUCCESS ) {
-                        return rc;
-                }
-        } else {
-                       /* Glue Entry */
-        }
+       if ( !is_entry_objectclass ( e, slap_schema.si_oc_glue, 0 ) ) {
+               rc = entry_naming_check( e, text, textbuf, textlen );
+               if( rc != LDAP_SUCCESS ) {
+                       return rc;
+               }
+       } else {
+               /* Glue Entry */
+       }
 
        /* find the content rule for the structural class */
        cr = cr_find( sc->soc_oid );