]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9471 - Fix typos in previous commit
authorQuanah Gibson-Mount <quanah@openldap.org>
Thu, 18 Mar 2021 21:06:58 +0000 (21:06 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 18 Mar 2021 21:06:58 +0000 (21:06 +0000)
contrib/slapd-modules/rbac/rbacsess.c
contrib/slapd-modules/rbac/util.c

index 6830bbb2f915e3e1269e655b62aea031c5cd6989..d18e312e99090856bde8de7bba24089d7d5a98db 100644 (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 );
index d25d02e4b101adebea702bf6b07280c71bbc900e..11a5e54a2418994a2217d16bf23fb3e90c22ddf0 100644 (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;
                }
        }