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

index fed841448365255b33b93f779db125fa74c574ec..83d7ec125e934325daa614f8e27b0f6f3b25576c 100644 (file)
@@ -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 ) );