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