mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
check call consistency
This commit is contained in:
parent
04cf328716
commit
12ea3e4304
@ -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 ) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user