]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Fix initialization bug
authorKurt Zeilenga <kurt@openldap.org>
Wed, 26 Mar 2003 16:45:57 +0000 (16:45 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 26 Mar 2003 16:45:57 +0000 (16:45 +0000)
servers/slapd/back-sql/entry-id.c

index 209821d7550be8d8d3033c186749bfd1d58d8cc8..6dba64d516d29a449c4a85e91d40031e676995f6 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 );