mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-23 14:09:39 +08:00
allow dnParent to work in place
This commit is contained in:
parent
22bc85dc77
commit
61bb4bb630
@ -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 New Issue
Block a user