Commit d28a933b authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#9471 - Fix typos in previous commit

parent d594ffe9
......@@ -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;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment