fix another crasher

This commit is contained in:
Pierangelo Masarati 2006-01-02 17:36:48 +00:00
parent 0eb5023550
commit fdce5f2f7e

View File

@ -1386,6 +1386,7 @@ syncrepl_message_to_op(
op->orr_newrdn = prdn; op->orr_newrdn = prdn;
op->orr_nnewrdn = nrdn; op->orr_nnewrdn = nrdn;
op->orr_deleteoldrdn = deleteOldRdn; op->orr_deleteoldrdn = deleteOldRdn;
op->orr_modlist = NULL;
if ( slap_modrdn2mods( op, &rs )) if ( slap_modrdn2mods( op, &rs ))
goto done; goto done;
rc = op->o_bd->be_modrdn( op, &rs ); rc = op->o_bd->be_modrdn( op, &rs );
@ -1842,6 +1843,7 @@ retry_add:;
op->orr_nnewSup = &nnewp; op->orr_nnewSup = &nnewp;
} }
op->orr_deleteoldrdn = 0; op->orr_deleteoldrdn = 0;
op->orr_modlist = NULL;
rc = be->be_modrdn( op, &rs_modify ); rc = be->be_modrdn( op, &rs_modify );
Debug( LDAP_DEBUG_SYNC, Debug( LDAP_DEBUG_SYNC,
"syncrepl_entry: %s (%d)\n", "syncrepl_entry: %s (%d)\n",