From: Julius Enarusai Date: Wed, 27 Mar 2002 22:35:35 +0000 (+0000) Subject: Added LDAP_LOG messages X-Git-Tag: OPENLDAP_REL_ENG_2_MP~290 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ae31411a0da5075881edf8a8aafaef0d5950ce3b;p=openldap Added LDAP_LOG messages --- 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 );