From 9c908113156f948fde9d13ff88215c2d6cf41c35 Mon Sep 17 00:00:00 2001 From: Julius Enarusai Date: Wed, 27 Mar 2002 19:43:07 +0000 Subject: [PATCH] Added LDAP_LOG messages --- libraries/libldap/getattr.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libraries/libldap/getattr.c b/libraries/libldap/getattr.c index dd18acd969..e5cd6e628d 100644 --- a/libraries/libldap/getattr.c +++ b/libraries/libldap/getattr.c @@ -30,7 +30,11 @@ ldap_first_attribute( LDAP *ld, LDAPMessage *entry, BerElement **berout ) char *attr; BerElement *ber; +#ifdef NEW_LOGGING + LDAP_LOG (( "getattr", LDAP_LEVEL_ENTRY, "ldap_first_attribute\n" )); +#else Debug( LDAP_DEBUG_TRACE, "ldap_first_attribute\n", 0, 0, 0 ); +#endif assert( ld != NULL ); assert( LDAP_VALID( ld ) ); @@ -92,7 +96,11 @@ ldap_next_attribute( LDAP *ld, LDAPMessage *entry, BerElement *ber ) ber_tag_t tag; char *attr; +#ifdef NEW_LOGGING + LDAP_LOG (( "getattr", LDAP_LEVEL_ENTRY, "ldap_next_attribute\n" )); +#else Debug( LDAP_DEBUG_TRACE, "ldap_next_attribute\n", 0, 0, 0 ); +#endif assert( ld != NULL ); assert( LDAP_VALID( ld ) ); -- 2.39.5