From fdce5f2f7eb351a7218b3d168081776e1aae66b2 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 2 Jan 2006 17:36:48 +0000 Subject: [PATCH] fix another crasher --- servers/slapd/syncrepl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 76eb4ad739..1cc4b84832 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -1386,6 +1386,7 @@ syncrepl_message_to_op( op->orr_newrdn = prdn; op->orr_nnewrdn = nrdn; op->orr_deleteoldrdn = deleteOldRdn; + op->orr_modlist = NULL; if ( slap_modrdn2mods( op, &rs )) goto done; rc = op->o_bd->be_modrdn( op, &rs ); @@ -1842,6 +1843,7 @@ retry_add:; op->orr_nnewSup = &nnewp; } op->orr_deleteoldrdn = 0; + op->orr_modlist = NULL; rc = be->be_modrdn( op, &rs_modify ); Debug( LDAP_DEBUG_SYNC, "syncrepl_entry: %s (%d)\n", -- 2.39.5