From: Kurt Zeilenga Date: Wed, 9 Oct 2002 19:24:02 +0000 (+0000) Subject: Fix bad sup error X-Git-Tag: NO_SLAP_OP_BLOCKS~906 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5060ebb36d5e2f0b2b248021837516b3de6944f1;p=openldap Fix bad sup error --- diff --git a/servers/slapd/oc.c b/servers/slapd/oc.c index eeceeb2ac6..3301a702bb 100644 --- a/servers/slapd/oc.c +++ b/servers/slapd/oc.c @@ -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)++;