]> git.sur5r.net Git - openldap/commitdiff
minor cleanup
authorPierangelo Masarati <ando@openldap.org>
Wed, 13 Feb 2002 14:44:08 +0000 (14:44 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 13 Feb 2002 14:44:08 +0000 (14:44 +0000)
libraries/libldap/getdn.c

index 16f853096885c2a389fc4f99de50d36ee9b16442..af9d2154a62fd8f522981db77542d173a8f0cb85 100644 (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;
        }