From: Howard Chu Date: Thu, 9 Dec 2004 09:20:11 +0000 (+0000) Subject: Fix 1.48 change X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~79 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cf137fc9ef850769915056ee0ff8cd63e62a41c8;p=openldap Fix 1.48 change --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index a19955c75e..a4494562f6 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -1536,13 +1536,17 @@ syncprov_detach_op( Operation *op, syncops *so ) } else { ptr = (char *)(op2->o_hdr + 1); } + op2->o_ndn.bv_len = op->o_ndn.bv_len; op2->o_ndn.bv_val = ptr; ptr = lutil_strcopy(ptr, op->o_ndn.bv_val) + 1; op2->o_dn = op2->o_ndn; + op2->o_req_dn.bv_len = op->o_req_dn.bv_len; op2->o_req_dn.bv_val = ptr; ptr = lutil_strcopy(ptr, op->o_req_dn.bv_val) + 1; + op2->o_req_ndn.bv_len = op->o_req_ndn.bv_len; op2->o_req_ndn.bv_val = ptr; ptr = lutil_strcopy(ptr, op->o_req_ndn.bv_val) + 1; + op2->ors_filterstr.bv_len = op->ors_filterstr.bv_len; op2->ors_filterstr.bv_val = ptr; strcpy( ptr, so->s_filterstr.bv_val ); op2->ors_filterstr.bv_len = so->s_filterstr.bv_len;