From 010e94d4de7ad389134893179388498356a99d29 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 31 Jan 2002 14:12:06 +0000 Subject: [PATCH] Fix ITS#1573 spelling errors --- servers/slapd/controls.c | 6 +++--- servers/slapd/schema_check.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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; -- 2.39.5