mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-09 02:52:04 +08:00
Added LDAP_LOG Messages
This commit is contained in:
parent
e86782aab9
commit
b082ed9355
@ -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))
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user