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;
|
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? */
|
||||||
do_play = 1;
|
if ( ber_bvcmp( &mincsn, &sl->sl_mincsn[i] ) >= 0 )
|
||||||
|
do_play = 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user