From: Pierangelo Masarati Date: Wed, 13 Feb 2002 14:44:08 +0000 (+0000) Subject: minor cleanup X-Git-Tag: OPENLDAP_REL_ENG_2_1_BP~20 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6913aadcdf1c845bf05cd37ed7dc60762c9cfad6;p=openldap minor cleanup --- diff --git a/libraries/libldap/getdn.c b/libraries/libldap/getdn.c index 16f8530968..af9d2154a6 100644 --- a/libraries/libldap/getdn.c +++ b/libraries/libldap/getdn.c @@ -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; }