]> git.sur5r.net Git - openldap/commitdiff
Added LDAP_LOG messages
authorJulius Enarusai <julius@openldap.org>
Wed, 27 Mar 2002 22:35:35 +0000 (22:35 +0000)
committerJulius Enarusai <julius@openldap.org>
Wed, 27 Mar 2002 22:35:35 +0000 (22:35 +0000)
libraries/libldap/modrdn.c

index c9f1ee5ddf8a5a4a417c559e23fc4f2f3fb04cd8..5603d6dbeace7ac62affc73537098776b611780e 100644 (file)
@@ -68,7 +68,11 @@ ldap_rename(
        BerElement      *ber;
        int rc;
 
+#ifdef NEW_LOGGING
+       LDAP_LOG (( "modrdn", LDAP_LEVEL_ENTRY, "ldap_rename\n" ));
+#else
        Debug( LDAP_DEBUG_TRACE, "ldap_rename\n", 0, 0, 0 );
+#endif
 
        /* check client controls */
        rc = ldap_int_client_controls( ld, cctrls );
@@ -151,7 +155,11 @@ ldap_rename2(
        int msgid;
        int rc;
 
+#ifdef NEW_LOGGING
+       LDAP_LOG (( "modrdn", LDAP_LEVEL_ENTRY, "ldap_rename2\n" ));
+#else
        Debug( LDAP_DEBUG_TRACE, "ldap_rename2\n", 0, 0, 0 );
+#endif
 
        rc = ldap_rename( ld, dn, newrdn, newSuperior,
                deleteoldrdn, NULL, NULL, &msgid );