From ae31411a0da5075881edf8a8aafaef0d5950ce3b Mon Sep 17 00:00:00 2001 From: Julius Enarusai Date: Wed, 27 Mar 2002 22:35:35 +0000 Subject: [PATCH] Added LDAP_LOG messages --- libraries/libldap/modrdn.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libraries/libldap/modrdn.c b/libraries/libldap/modrdn.c index c9f1ee5ddf..5603d6dbea 100644 --- a/libraries/libldap/modrdn.c +++ b/libraries/libldap/modrdn.c @@ -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 ); -- 2.39.5