From: Howard Chu Date: Thu, 31 Jan 2002 14:12:06 +0000 (+0000) Subject: Fix ITS#1573 spelling errors X-Git-Tag: OPENLDAP_REL_ENG_2_1_BP~111 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=010e94d4de7ad389134893179388498356a99d29;p=openldap Fix ITS#1573 spelling errors --- diff --git a/servers/slapd/controls.c b/servers/slapd/controls.c index c977f312a1..459318a930 100644 --- a/servers/slapd/controls.c +++ b/servers/slapd/controls.c @@ -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; } diff --git a/servers/slapd/schema_check.c b/servers/slapd/schema_check.c index 072460282d..ae9641e6e7 100644 --- a/servers/slapd/schema_check.c +++ b/servers/slapd/schema_check.c @@ -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;