X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Flibldap%2Funbind.c;h=4474920bf7bc97d65ce867aa47b7bd012384e8dc;hb=4a2b9b21951cb9966f98cd49064e856f6ff7e6a4;hp=4e1c1fd786d3a20bd95baa34e345ab52ac5e19ae;hpb=06b350c04c040aa0ba4932166d420a7b107b24ba;p=openldap diff --git a/libraries/libldap/unbind.c b/libraries/libldap/unbind.c index 4e1c1fd786..4474920bf7 100644 --- a/libraries/libldap/unbind.c +++ b/libraries/libldap/unbind.c @@ -1,6 +1,6 @@ /* $OpenLDAP$ */ /* - * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved. + * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ /* Portions @@ -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))