]> git.sur5r.net Git - openldap/commitdiff
Fix typo
authorKurt Zeilenga <kurt@openldap.org>
Thu, 24 Apr 2003 12:43:30 +0000 (12:43 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 24 Apr 2003 12:43:30 +0000 (12:43 +0000)
servers/slapd/schema_init.c

index 652c341232a4a078be6e68fda5963d2eda9f8291..fea000a757f9d44439abe5c792dcaa800c90d4cb 100644 (file)
@@ -1486,7 +1486,7 @@ integerValidate(
                }
 
        } else if ( val.bv_val[0] == '0' ) {
-               if( val.bv_len == 1 ) { /* "0<more>" */
+               if( val.bv_len > 1 ) { /* "0<more>" */
                        return LDAP_INVALID_SYNTAX;
                }