Commit f0505795 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

cleanup...

parent a14bda1d
...@@ -69,7 +69,7 @@ int ldap_dn2domain( ...@@ -69,7 +69,7 @@ int ldap_dn2domain(
(ava->la_flags & LDAP_AVA_STRING) && (ava->la_flags & LDAP_AVA_STRING) &&
ava->la_value.bv_len && ava->la_value.bv_len &&
( ber_bvstrcasecmp( &ava->la_attr, &DC ) == 0 ( ber_bvstrcasecmp( &ava->la_attr, &DC ) == 0
|| ber_bvstrcasecmp( &ava->la_attr, &DCOID ) == 0 ) ) || ber_bvcmp( &ava->la_attr, &DCOID ) == 0 ) )
{ {
if( domain.bv_len == 0 ) { if( domain.bv_len == 0 ) {
ndomain = LDAP_REALLOC( domain.bv_val, ndomain = LDAP_REALLOC( domain.bv_val,
......
Supports Markdown
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