mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Fix 1.48 change
This commit is contained in:
parent
c83a74f4f3
commit
cf137fc9ef
@ -1536,13 +1536,17 @@ syncprov_detach_op( Operation *op, syncops *so )
|
|||||||
} else {
|
} else {
|
||||||
ptr = (char *)(op2->o_hdr + 1);
|
ptr = (char *)(op2->o_hdr + 1);
|
||||||
}
|
}
|
||||||
|
op2->o_ndn.bv_len = op->o_ndn.bv_len;
|
||||||
op2->o_ndn.bv_val = ptr;
|
op2->o_ndn.bv_val = ptr;
|
||||||
ptr = lutil_strcopy(ptr, op->o_ndn.bv_val) + 1;
|
ptr = lutil_strcopy(ptr, op->o_ndn.bv_val) + 1;
|
||||||
op2->o_dn = op2->o_ndn;
|
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;
|
op2->o_req_dn.bv_val = ptr;
|
||||||
ptr = lutil_strcopy(ptr, op->o_req_dn.bv_val) + 1;
|
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;
|
op2->o_req_ndn.bv_val = ptr;
|
||||||
ptr = lutil_strcopy(ptr, op->o_req_ndn.bv_val) + 1;
|
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;
|
op2->ors_filterstr.bv_val = ptr;
|
||||||
strcpy( ptr, so->s_filterstr.bv_val );
|
strcpy( ptr, so->s_filterstr.bv_val );
|
||||||
op2->ors_filterstr.bv_len = so->s_filterstr.bv_len;
|
op2->ors_filterstr.bv_len = so->s_filterstr.bv_len;
|
||||||
|
Loading…
Reference in New Issue
Block a user