mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 03:29:35 -05:00
allow dnParent to work in place
This commit is contained in:
parent
22bc85dc77
commit
61bb4bb630
1 changed files with 1 additions and 1 deletions
|
|
@ -1118,8 +1118,8 @@ dnParent(
|
|||
p++;
|
||||
|
||||
assert( ATTR_LEADCHAR( p[ 0 ] ) );
|
||||
pdn->bv_val = p;
|
||||
pdn->bv_len = dn->bv_len - (p - dn->bv_val);
|
||||
pdn->bv_val = p;
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue