mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 02:59:34 -05:00
Fix previous commit...
This commit is contained in:
parent
fd93e0721b
commit
21c5674d34
1 changed files with 5 additions and 1 deletions
|
|
@ -682,7 +682,11 @@ bdb_dn2id_add(
|
|||
idNode *n;
|
||||
|
||||
nrlen = dn_rdnlen( be, e->e_ndn );
|
||||
rlen = dn_rdnlen( be, e->e_dn );
|
||||
if (nrlen) {
|
||||
rlen = dn_rdnlen( be, e->e_dn );
|
||||
} else {
|
||||
rlen = 0;
|
||||
}
|
||||
|
||||
d = ch_malloc(sizeof(diskNode) + rlen + nrlen + 2);
|
||||
d->rdn.bv_len = rlen;
|
||||
|
|
|
|||
Loading…
Reference in a new issue