Commit 350544db authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Import minor trace output cleanup

parent 5d64cae0
...@@ -228,7 +228,7 @@ char *derefDN ( Backend *be, ...@@ -228,7 +228,7 @@ char *derefDN ( Backend *be,
*/ */
if (depth >= be->be_maxDerefDepth) { if (depth >= be->be_maxDerefDepth) {
Debug( LDAP_DEBUG_TRACE, Debug( LDAP_DEBUG_TRACE,
"<= max deref depth exceeded in derefDN for %s, result %s\n", "<= max deref depth exceeded in derefDN for \"%s\", result \"%s\"\n",
dn, newDN, 0 ); dn, newDN, 0 );
send_ldap_result( conn, op, LDAP_ALIAS_PROBLEM, "", send_ldap_result( conn, op, LDAP_ALIAS_PROBLEM, "",
"Maximum alias dereference depth exceeded for base" ); "Maximum alias dereference depth exceeded for base" );
...@@ -238,7 +238,7 @@ char *derefDN ( Backend *be, ...@@ -238,7 +238,7 @@ char *derefDN ( Backend *be,
newDN = ch_strdup ( dn ); newDN = ch_strdup ( dn );
} }
Debug( LDAP_DEBUG_TRACE, "<= returning deref DN of %s\n", newDN, 0, 0 ); Debug( LDAP_DEBUG_TRACE, "<= returning deref DN of \"%s\"\n", newDN, 0, 0 );
if (matched != NULL) free(matched); if (matched != NULL) free(matched);
return newDN; return newDN;
......
...@@ -163,7 +163,7 @@ dn2entry( ...@@ -163,7 +163,7 @@ dn2entry(
Entry *e = NULL; Entry *e = NULL;
char *pdn; char *pdn;
Debug(LDAP_DEBUG_TRACE, "dn2entry_%s: dn: %s\n", Debug(LDAP_DEBUG_TRACE, "dn2entry_%s: dn: \"%s\"\n",
rw ? "w" : "r", dn, 0); rw ? "w" : "r", dn, 0);
*matched = NULL; *matched = NULL;
......
...@@ -84,7 +84,7 @@ id2children_remove( ...@@ -84,7 +84,7 @@ id2children_remove(
key.dsize = strlen( buf ) + 1; key.dsize = strlen( buf ) + 1;
if ( idl_delete_key( be, db, key, e->e_id ) != 0 ) { if ( idl_delete_key( be, db, key, e->e_id ) != 0 ) {
Debug( LDAP_DEBUG_TRACE, "<= id2children_remove -1 (idl_insert)\n", Debug( LDAP_DEBUG_TRACE, "<= id2children_remove -1 (idl_delete)\n",
0, 0, 0 ); 0, 0, 0 );
ldbm_cache_close( be, db ); ldbm_cache_close( be, db );
return( -1 ); return( -1 );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment