]> git.sur5r.net Git - openldap/commitdiff
Fix ITS#1573 spelling errors
authorHoward Chu <hyc@openldap.org>
Thu, 31 Jan 2002 14:12:06 +0000 (14:12 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 31 Jan 2002 14:12:06 +0000 (14:12 +0000)
servers/slapd/controls.c
servers/slapd/schema_check.c

index c977f312a17657b1995fb1f3fca8ce58194a9729..459318a930213fc9ac11b3a63571cf17105c3f37 100644 (file)
@@ -256,7 +256,7 @@ int get_ctrls(
 
                c = find_ctrl( tctrl->ldctl_oid );
                if( c != NULL ) {
-                       /* recongized control */
+                       /* recognized control */
                        slap_mask_t tagmask;
                        switch( op->o_tag ) {
                        case LDAP_REQ_ADD:
@@ -319,9 +319,9 @@ int get_ctrls(
                        }
 
                } else if( tctrl->ldctl_iscritical ) {
-                       /* unrecongized CRITICAL control */
+                       /* unrecognized CRITICAL control */
                        rc = LDAP_UNAVAILABLE_CRITICAL_EXTENSION;
-                       errmsg = "critical extension is not recongized";
+                       errmsg = "critical extension is not recognized";
                        goto return_results;
                }
 
index 072460282d0532f0dca19e5dc7ca4ff2f2ea25c8..ae9641e6e7bdfd2dddb3e9bcb20e74ac946a8416 100644 (file)
@@ -494,7 +494,7 @@ int structural_class(
 
                if( oc == NULL ) {
                        snprintf( textbuf, textlen,
-                               "unrecongized objectClass '%s'",
+                               "unrecognized objectClass '%s'",
                                ocs[i].bv_val );
                        *text = textbuf;
                        return LDAP_OBJECT_CLASS_VIOLATION;
@@ -515,7 +515,7 @@ int structural_class(
 
                                        if( xc == NULL ) {
                                                snprintf( textbuf, textlen,
-                                                       "unrecongized objectClass '%s'",
+                                                       "unrecognized objectClass '%s'",
                                                        ocs[i].bv_val );
                                                *text = textbuf;
                                                return LDAP_OBJECT_CLASS_VIOLATION;