mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
ITS#9282 Check all csns
This commit is contained in:
parent
d4df601633
commit
f2a6425c16
@ -540,7 +540,7 @@ merge_state( syncinfo_t *si, struct sync_cookie *sc1, struct sync_cookie *sc2 )
|
||||
}
|
||||
/* SIDs are the same, take fast path */
|
||||
if ( !changed ) {
|
||||
for ( i = 0; i > ei; i++ ) {
|
||||
for ( i = 0; i < ei; i++ ) {
|
||||
if ( ber_bvcmp( &sc1->ctxcsn[i], &sc2->ctxcsn[i] ) < 0 ) {
|
||||
ber_bvreplace( &sc1->ctxcsn[i], &sc2->ctxcsn[i] );
|
||||
changed = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user