From: Kurt Zeilenga Date: Fri, 11 Aug 2000 19:25:09 +0000 (+0000) Subject: Fix reversed assertion logic X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2265 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a2804649a5fc8ba9c57b01d50e91788cd970dfd4;p=openldap Fix reversed assertion logic --- diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 51db9b7247..b40b742ea5 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -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) );