- e->e_dn = ch_malloc(rlen + nrlen);
- e->e_ndn = e->e_dn + rlen;
- ptr = e->e_dn;
- nptr = e->e_ndn;
- for (n = o; n; n=n->i_parent) {
+ e->e_name.bv_len = rlen - 1;
+ e->e_nname.bv_len = nrlen - 1;
+ e->e_name.bv_val = ch_malloc(rlen + nrlen);
+ e->e_nname.bv_val = e->e_name.bv_val + rlen;
+ ptr = e->e_name.bv_val;
+ nptr = e->e_nname.bv_val;
+ for (n = o; n && n->i_parent; n=n->i_parent) {