]> git.sur5r.net Git - openldap/commitdiff
Fix bad sup error
authorKurt Zeilenga <kurt@openldap.org>
Wed, 9 Oct 2002 19:24:02 +0000 (19:24 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 9 Oct 2002 19:24:02 +0000 (19:24 +0000)
servers/slapd/oc.c

index eeceeb2ac69bf3756cc19d64f447de0790203a3e..3301a702bb9567b6d39104ff3e789793b3a49b83 100644 (file)
@@ -286,7 +286,7 @@ oc_add_sups(
                                && soc1->soc_kind != LDAP_SCHEMA_ABSTRACT )
                        {
                                *err = *sups1;
-                               return SLAP_SCHERR_CLASS_BAD_USAGE;
+                               return SLAP_SCHERR_CLASS_BAD_SUP;
                        }
 
                        if( soc->soc_flags & SLAP_OC_OPERATIONAL ) (*op)++;