ITS#9471 - Fix typos in previous commit

This commit is contained in:
Quanah Gibson-Mount 2021-03-18 21:06:58 +00:00
parent d594ffe902
commit d28a933b70
2 changed files with 2 additions and 2 deletions

View file

@ -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 );

View file

@ -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;
}
}