]> git.sur5r.net Git - openldap/commitdiff
Fix reversed assertion logic
authorKurt Zeilenga <kurt@openldap.org>
Fri, 11 Aug 2000 19:25:09 +0000 (19:25 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 11 Aug 2000 19:25:09 +0000 (19:25 +0000)
servers/slapd/schema_init.c

index 51db9b7247db6d8b3296195b32e3f8ddbbb802b1..b40b742ea5623c914e1db06423a8a0f2a22b31f5 100644 (file)
@@ -1611,7 +1611,7 @@ numericStringNormalize(
 
        assert( *newval->bv_val );
        assert( newval->bv_val < p );
-       assert( p <= q );
+       assert( q <= p );
 
        /* cannot start with a space */
        assert( !ASCII_SPACE(*newval->bv_val) );