mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-08 16:04:47 -05:00
Used pre-normalized len of e_dn instead of just using e_ndn (and it's len).
This commit is contained in:
parent
e44971436c
commit
fea91d7ad2
1 changed files with 2 additions and 3 deletions
|
|
@ -31,9 +31,8 @@ bdb2i_index_add_entry(
|
|||
* with bdb2i_index_add_values() call
|
||||
*/
|
||||
|
||||
bv.bv_val = ch_strdup( e->e_dn );
|
||||
bv.bv_val = ch_strdup( e->e_ndn );
|
||||
bv.bv_len = strlen( bv.bv_val );
|
||||
(void) dn_normalize_case( bv.bv_val );
|
||||
bvals[0] = &bv;
|
||||
bvals[1] = NULL;
|
||||
|
||||
|
|
@ -52,7 +51,7 @@ bdb2i_index_add_entry(
|
|||
}
|
||||
|
||||
Debug( LDAP_DEBUG_TRACE, "<= index_add( %ld, \"%s\" ) 0\n", e->e_id,
|
||||
e->e_dn, 0 );
|
||||
e->e_ndn, 0 );
|
||||
return( 0 );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue