Skip to content
Snippets Groups Projects
Commit 10352cae authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

fix rewrite iteration

parent bd535be5
Branches
Tags
No related merge requests found
......@@ -486,7 +486,7 @@ ldap_send_entry(
} else if ( strcmp( attr->a_desc->ad_type->sat_syntax->ssyn_oid,
SLAPD_DN_SYNTAX ) == 0 ) {
int i;
for ( i = 0; ( bv = &attr->a_vals[ i ] ); i++ ) {
for ( i = 0, bv = attr->a_vals; bv->bv_val; bv++, i++ ) {
char *newval;
switch ( rewrite_session( li->rwinfo,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment