Commit 6c3e915c authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix reversed assert logic

parent e6516358
......@@ -602,7 +602,7 @@ UTF8StringNormalize(
assert( *newval->bv_val );
assert( newval->bv_val < p );
assert( p >= q );
assert( q <= p );
/* cannot start with a space */
assert( !ldap_utf8_isspace(newval->bv_val) );
......@@ -1950,7 +1950,7 @@ IA5StringNormalize(
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) );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment