From: Kurt Zeilenga Date: Wed, 24 May 2000 23:28:49 +0000 (+0000) Subject: SLAPD_SCHEMA_NOT_COMPAT: fix IA5StringNormalize aswell X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2871 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=09965d67de84434455cf398ab6c3393ad7e50508;p=openldap SLAPD_SCHEMA_NOT_COMPAT: fix IA5StringNormalize aswell --- diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index ddc92abb72..3e98b7f7a2 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -251,7 +251,7 @@ IA5StringNormalize( /* EMPTY */ ; } - if( *p ) { + if( *p != '\0' ) { ch_free( newval ); return LDAP_INVALID_SYNTAX; }