mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#7218 fix sessionlog usability check
This commit is contained in:
parent
be9585d0ed
commit
92d439a0dd
@ -2643,10 +2643,11 @@ no_change: if ( !(op->o_sync_mode & SLAP_SYNC_PERSIST) ) {
|
||||
do_play = 1;
|
||||
break;
|
||||
}
|
||||
/* SID present and new enough */
|
||||
if ( minsid == sl->sl_sids[i]
|
||||
&& ber_bvcmp( &mincsn, &sl->sl_mincsn[i] ) >= 0 ) {
|
||||
do_play = 1;
|
||||
/* SID present */
|
||||
if ( minsid == sl->sl_sids[i] ) {
|
||||
/* new enough? */
|
||||
if ( ber_bvcmp( &mincsn, &sl->sl_mincsn[i] ) >= 0 )
|
||||
do_play = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user