mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
ITS#7037 fix syncrepl_add_glue for empty suffix
This commit is contained in:
parent
9b082bf716
commit
638566f155
@ -3499,8 +3499,8 @@ syncrepl_add_glue_ancestors(
|
||||
}
|
||||
|
||||
if ( !BER_BVISEMPTY( &ptr ) ) {
|
||||
dn.bv_len -= ptr.bv_len + 1;
|
||||
dn.bv_val += ptr.bv_len + 1;
|
||||
dn.bv_len -= ptr.bv_len + ( suffrdns != 0 );
|
||||
dn.bv_val += ptr.bv_len + ( suffrdns != 0 );
|
||||
}
|
||||
|
||||
/* the normalizedDNs are always the same length, no counting
|
||||
|
Loading…
Reference in New Issue
Block a user