check call consistency

This commit is contained in:
Pierangelo Masarati 2007-09-03 16:36:22 +00:00
parent 04cf328716
commit 12ea3e4304

View File

@ -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 ) ) {