]> git.sur5r.net Git - openldap/commitdiff
this should be the intended behavior
authorPierangelo Masarati <ando@openldap.org>
Sat, 25 Oct 2003 16:32:17 +0000 (16:32 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 25 Oct 2003 16:32:17 +0000 (16:32 +0000)
servers/slapd/schema_check.c

index 239eb48a81e51aacce0ba46104ed1f801f14ecb4..8c6f50e62cfc4b8327c9ae7bfe1eb817f1783a81 100644 (file)
@@ -719,7 +719,7 @@ int structural_class(
                                        if( xc == NULL ) {
                                                snprintf( textbuf, textlen,
                                                        "unrecognized objectClass '%s'",
-                                                       ocs[i].bv_val );
+                                                       ocs[j].bv_val );
                                                *text = textbuf;
                                                return LDAP_OBJECT_CLASS_VIOLATION;
                                        }