summaryrefslogtreecommitdiffstats
path: root/ldap/servers/slapd
diff options
context:
space:
mode:
Diffstat (limited to 'ldap/servers/slapd')
-rw-r--r--ldap/servers/slapd/back-ldbm/ldbm_modrdn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldap/servers/slapd/back-ldbm/ldbm_modrdn.c b/ldap/servers/slapd/back-ldbm/ldbm_modrdn.c
index 293924e8..c8b49035 100644
--- a/ldap/servers/slapd/back-ldbm/ldbm_modrdn.c
+++ b/ldap/servers/slapd/back-ldbm/ldbm_modrdn.c
@@ -1578,7 +1578,7 @@ moddn_rename_children(
*/
slapi_pblock_get( pb, SLAPI_OPERATION, &operation );
opcsn = operation_get_csn (operation);
- for (i=0; retval == 0 && child_entries[i] && child_entry_copies[i]; i++) {
+ for (i=0,retval=0; retval == 0 && child_entries[i] && child_entry_copies[i]; i++) {
retval = moddn_rename_child_entry(ptxn, pb, li, child_entries[i],
child_entry_copies[i], parentdncomps,
newsuperiordns, newsuperiordncomps,