minor cleanup

This commit is contained in:
Pierangelo Masarati 2002-02-13 14:44:08 +00:00
parent 33d5f0f8f8
commit 6913aadcdf

View file

@ -627,7 +627,7 @@ ldap_bv2dn( struct berval *bv, LDAPDN **dn, unsigned flags )
assert( bv->bv_val );
assert( dn );
Debug( LDAP_DEBUG_TRACE, "=> ldap_str2dn(%s,%u)\n%s", str, flags, "" );
Debug( LDAP_DEBUG_TRACE, "=> ldap_bv2dn(%s,%u)\n%s", str, flags, "" );
*dn = NULL;
@ -848,11 +848,6 @@ ldap_bv2rdn( struct berval *bv, LDAPRDN **rdn,
assert( rdn || flags & LDAP_DN_SKIP );
assert( n );
#if 0
Debug( LDAP_DEBUG_TRACE, "=> ldap_bv2rdn(%s,%u)\n%s",
bv->bv_val, flags, "" );
#endif
str = bv->bv_val;
stoplen = bv->bv_len;
@ -1315,11 +1310,6 @@ return_result:;
LDAP_FREE( tmpRDN );
}
#if 0
Debug( LDAP_DEBUG_TRACE, "<= ldap_str2rdn(%*s)=%d\n",
p - str, str, rc );
#endif
if ( rdn ) {
*rdn = newRDN;
}