From 16f2a29c23419e192f5c299cc73c0d01278e42ff Mon Sep 17 00:00:00 2001 From: Mark Valence Date: Wed, 28 Jun 2000 05:29:09 +0000 Subject: [PATCH] Fix negated tests in IA5StringNormalize and numericStringNormalize. --- servers/slapd/schema_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 9a5b621a3e..ec4da72eb2 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -534,7 +534,7 @@ IA5StringNormalize( p++; } - if( *p != '\0' ) { + if( *p == '\0' ) { ch_free( newval ); return LDAP_INVALID_SYNTAX; } @@ -1112,7 +1112,7 @@ numericStringNormalize( p++; } - if( *p != '\0' ) { + if( *p == '\0' ) { ch_free( newval ); return LDAP_INVALID_SYNTAX; } -- 2.39.5