]> git.sur5r.net Git - openldap/commitdiff
fix bug in schema check
authorPierangelo Masarati <ando@openldap.org>
Tue, 25 Mar 2003 14:34:01 +0000 (14:34 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 25 Mar 2003 14:34:01 +0000 (14:34 +0000)
servers/slapd/back-sql/entry-id.c

index eea0e15f5541a7b2705de6bd3fd8284fce0ff69b..b87a012fd347e861e99946450e33c65960c6460e 100644 (file)
@@ -425,7 +425,7 @@ backsql_id2entry( backsql_srch_info *bsi, Entry *e, backsql_entryID *eid )
                int rc;
 
                bv[ 0 ] = bsi->oc->oc->soc_cname;
-               bv[ 0 ].bv_val = NULL;
+               bv[ 1 ].bv_val = NULL;
 
                rc = structural_class( bv, &soc, NULL, 
                                &text, textbuf, textlen );