Commit 12ea3e43 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

check call consistency

parent 04cf3287
......@@ -3508,6 +3508,9 @@ hexNormalize(
{
int i;
assert( val != NULL );
assert( normalized != NULL );
ber_dupbv_x( normalized, val, ctx );
for ( i = 0; i < normalized->bv_len; i++ ) {
......@@ -3803,6 +3806,9 @@ csnNormalize(
char *ptr;
int i;
assert( val != NULL );
assert( normalized != NULL );
assert( SLAP_MR_IS_VALUE_OF_SYNTAX( usage ) != 0 );
if ( BER_BVISEMPTY( 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