From fea91d7ad2789fd72a2238d248a395d3c1ab8af3 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 2 Jun 1999 00:09:18 +0000 Subject: [PATCH] Used pre-normalized len of e_dn instead of just using e_ndn (and it's len). --- servers/slapd/back-bdb2/index.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/servers/slapd/back-bdb2/index.c b/servers/slapd/back-bdb2/index.c index 73a1e16bf8..63731f666e 100644 --- a/servers/slapd/back-bdb2/index.c +++ b/servers/slapd/back-bdb2/index.c @@ -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 ); } -- 2.39.5