mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
Fix previous commit...
This commit is contained in:
parent
fd93e0721b
commit
21c5674d34
@ -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 New Issue
Block a user