From: Kurt Zeilenga Date: Thu, 24 Apr 2003 12:43:30 +0000 (+0000) Subject: Fix typo X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~249 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=79262c57030a48fd2eae180e617928701362c471;p=openldap Fix typo --- diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 652c341232..fea000a757 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -1486,7 +1486,7 @@ integerValidate( } } else if ( val.bv_val[0] == '0' ) { - if( val.bv_len == 1 ) { /* "0" */ + if( val.bv_len > 1 ) { /* "0" */ return LDAP_INVALID_SYNTAX; }