mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-08 08:02:16 -05:00
ITS#9471 - Fix typos in previous commit
This commit is contained in:
parent
d594ffe902
commit
d28a933b70
2 changed files with 2 additions and 2 deletions
|
|
@ -710,7 +710,7 @@ rbac_session_byid_fake( Operation *op, rbac_req_t *reqp )
|
|||
filter_free_x( &op2, op2.ors_filter, 1 );
|
||||
|
||||
done:
|
||||
// TODO: find equivilant way of check nentries (broke with fake connection fix)
|
||||
// TODO: find equivalent way of check nentries (broke with fake connection fix)
|
||||
//if ( rc != LDAP_SUCCESS || rs2.sr_nentries <= 0 ) {
|
||||
if ( rc != LDAP_SUCCESS ) {
|
||||
rbac_free_session( sessp );
|
||||
|
|
|
|||
|
|
@ -472,7 +472,7 @@ rbac_check_time_constraint( rbac_constraint_t *cp )
|
|||
int timeofday = ( resultp->tm_hour * 60 + resultp->tm_min ) * 60 +
|
||||
resultp->tm_sec;
|
||||
if ( timeofday < cp->begin_time || timeofday > cp->end_time ) {
|
||||
/* not withing allowed time period in a day */
|
||||
/* not within allowed time period in a day */
|
||||
goto done;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue