Added LDAP_LOG Messages

This commit is contained in:
Julius Enarusai 2002-04-02 00:22:57 +00:00
parent e86782aab9
commit b082ed9355
2 changed files with 12 additions and 0 deletions

View File

@ -58,7 +58,11 @@ ldap_unbind_ext_s(
int
ldap_unbind( LDAP *ld )
{
#ifdef NEW_LOGGING
LDAP_LOG (( "unbind", LDAP_LEVEL_ENTRY, "ldap_unbind\n" ));
#else
Debug( LDAP_DEBUG_TRACE, "ldap_unbind\n", 0, 0, 0 );
#endif
return( ldap_unbind_ext( ld, NULL, NULL ) );
}
@ -176,7 +180,11 @@ ldap_send_unbind(
{
BerElement *ber;
#ifdef NEW_LOGGING
LDAP_LOG (( "unbind", LDAP_LEVEL_ENTRY, "ldap_send_unbind\n" ));
#else
Debug( LDAP_DEBUG_TRACE, "ldap_send_unbind\n", 0, 0, 0 );
#endif
#ifdef LDAP_CONNECTIONLESS
if (LDAP_IS_UDP(ld))

View File

@ -445,7 +445,11 @@ ldap_url_parse_ext( LDAP_CONST char *url_in, LDAPURLDesc **ludpp )
* because a call to LDAP_INT_GLOBAL_OPT() will try to allocate
* the options and cause infinite recursion
*/
#ifdef NEW_LOGGING
LDAP_LOG (( "url", LDAP_LEVEL_ENTRY, "ldap_url_parse_ext(%s)\n", url_in ));
#else
Debug( LDAP_DEBUG_TRACE, "ldap_url_parse_ext(%s)\n", url_in, 0, 0 );
#endif
#endif
*ludpp = NULL; /* pessimistic */