From 5a16e3b9e9c9176062e9d71b6d393daa81fa8097 Mon Sep 17 00:00:00 2001 From: Juan Gomez Date: Wed, 26 May 1999 11:41:14 +0000 Subject: [PATCH] Fixed index file naming bug and added support for LDAP_MOD_SOFTADD. --- servers/slapd/back-ldbm/index.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/back-ldbm/index.c b/servers/slapd/back-ldbm/index.c index b16ddddd0e..d6b5faa306 100644 --- a/servers/slapd/back-ldbm/index.c +++ b/servers/slapd/back-ldbm/index.c @@ -70,7 +70,7 @@ index_add_mods( rc = index_add_values( be, mod->mod_type, mod->mod_bvalues, id ); break; - + case LDAP_MOD_SOFTADD: /* SOFTADD means index was there */ case LDAP_MOD_DELETE: rc = 0; break; @@ -230,7 +230,7 @@ index_add_values( Debug( LDAP_DEBUG_TRACE, "=> index_add_values( \"%s\", %ld )\n", type, id, 0 ); - + attr_normalize(type); attr_masks( be->be_private, type, &indexmask, &syntax ); if ( indexmask == 0 ) { return( 0 ); -- 2.39.5