mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 10:39:34 -05:00
Added LDAP_LOG messages
This commit is contained in:
parent
3ab1ea7300
commit
150aa3fc7b
1 changed files with 9 additions and 1 deletions
|
|
@ -48,7 +48,11 @@ ldap_delete_ext(
|
|||
int rc;
|
||||
BerElement *ber;
|
||||
|
||||
Debug( LDAP_DEBUG_TRACE, "ldap_delete\n", 0, 0, 0 );
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG (( "delete", LDAP_LEVEL_ENTRY, "ldap_delete_ext\n" ));
|
||||
#else
|
||||
Debug( LDAP_DEBUG_TRACE, "ldap_delete_ext\n", 0, 0, 0 );
|
||||
#endif
|
||||
|
||||
assert( ld != NULL );
|
||||
assert( LDAP_VALID( ld ) );
|
||||
|
|
@ -134,7 +138,11 @@ ldap_delete( LDAP *ld, LDAP_CONST char *dn )
|
|||
* DelRequet ::= DistinguishedName,
|
||||
*/
|
||||
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG (( "delete", LDAP_LEVEL_ENTRY, "ldap_delete\n" ));
|
||||
#else
|
||||
Debug( LDAP_DEBUG_TRACE, "ldap_delete\n", 0, 0, 0 );
|
||||
#endif
|
||||
|
||||
return ldap_delete_ext( ld, dn, NULL, NULL, &msgid ) == LDAP_SUCCESS
|
||||
? msgid : -1 ;
|
||||
|
|
|
|||
Loading…
Reference in a new issue