]> git.sur5r.net Git - openldap/commitdiff
Fix 1.48 change
authorHoward Chu <hyc@openldap.org>
Thu, 9 Dec 2004 09:20:11 +0000 (09:20 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 9 Dec 2004 09:20:11 +0000 (09:20 +0000)
servers/slapd/overlays/syncprov.c

index a19955c75eea2b77a693b647d28b97b26fcddb0b..a4494562f6640a4c624626fd0adc70546ab298af 100644 (file)
@@ -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;