mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
cleanup
This commit is contained in:
parent
76bab2b6df
commit
d8d3bded72
@ -137,7 +137,7 @@ int slap_bv2ad(
|
|||||||
assert( ad != NULL );
|
assert( ad != NULL );
|
||||||
assert( *ad == NULL ); /* temporary */
|
assert( *ad == NULL ); /* temporary */
|
||||||
|
|
||||||
if( bv == NULL || bv->bv_len == 0 ) {
|
if( bv == NULL || BER_BVISNULL( bv ) || BER_BVISEMPTY( bv ) ) {
|
||||||
*text = "empty attribute description";
|
*text = "empty attribute description";
|
||||||
return rtn;
|
return rtn;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user