]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/aci.c
ITS#8789 avoid unnecessary writes of context entry
[openldap] / servers / slapd / aci.c
index 9ae95137acedd8614ece7c35e950bb80b59cbc19..74a38e6617a5e1f5df6950db12296ba2173d2519 100644 (file)
@@ -1220,17 +1220,17 @@ OpenLDAPaciNormalizeRight(
                                {
                                        ad = NULL;
                                        text = NULL;
-                                       /* openldap 2.1 aci compabitibility [entry] -> entry */
+                                       /* openldap 2.1 aci compatibility [entry] -> entry */
                                        if ( ber_bvstrcasecmp( &attr, &aci_bv[ ACI_BV_BR_ENTRY ] ) == 0 ) {
                                                ad = &adstatic;
                                                adstatic.ad_cname = aci_bv[ ACI_BV_ENTRY ];
 
-                                       /* openldap 2.1 aci compabitibility [children] -> children */
+                                       /* openldap 2.1 aci compatibility [children] -> children */
                                        } else if ( ber_bvstrcasecmp( &attr, &aci_bv[ ACI_BV_BR_CHILDREN ] ) == 0 ) {
                                                ad = &adstatic;
                                                adstatic.ad_cname = aci_bv[ ACI_BV_CHILDREN ];
 
-                                       /* openldap 2.1 aci compabitibility [all] -> only [all] */
+                                       /* openldap 2.1 aci compatibility [all] -> only [all] */
                                        } else if ( ber_bvstrcasecmp( &attr, &aci_bv[ ACI_BV_BR_ALL ] ) == 0 ) {
                                                ber_memfree_x( nattrs.bv_val, ctx );
                                                nattrs = aci_bv[ ACI_BV_BR_ALL ];