From e4f2c9425afc0f594212aa1697bad779733b96b9 Mon Sep 17 00:00:00 2001 From: Julius Enarusai Date: Wed, 27 Mar 2002 18:50:45 +0000 Subject: [PATCH] Added LDAP_LOG messages --- libraries/libldap/compare.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/libldap/compare.c b/libraries/libldap/compare.c index fed8414483..83d7ec125e 100644 --- a/libraries/libldap/compare.c +++ b/libraries/libldap/compare.c @@ -54,7 +54,11 @@ ldap_compare_ext( int rc; BerElement *ber; +#ifdef NEW_LOGGING + LDAP_LOG (( "compare", LDAP_LEVEL_ENTRY, "ldap_compare\n" )); +#else Debug( LDAP_DEBUG_TRACE, "ldap_compare\n", 0, 0, 0 ); +#endif assert( ld != NULL ); assert( LDAP_VALID( ld ) ); -- 2.39.5