Import fix from modification of string literal "dn" from devel.

This commit is contained in:
Kurt Zeilenga 1999-05-27 23:08:05 +00:00
parent 9b791fbbe9
commit f4f7ab73e8

View file

@ -39,7 +39,11 @@ index_add_entry(
bvals[1] = NULL;
/* add the dn to the indexes */
index_add_values( be, "dn", bvals, e->e_id );
{
char *dn = ch_strdup("dn");
index_add_values( be, dn, bvals, e->e_id );
free( dn );
}
free( bv.bv_val );