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