From 818bc5731935e0d4dad4cb4a248b5b2e0b0b08c4 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 18 Jan 1999 17:33:36 +0000 Subject: [PATCH] Minor cleanup of trace output. --- servers/slapd/back-ldbm/alias.c | 4 ++-- servers/slapd/back-ldbm/dn2id.c | 2 +- servers/slapd/back-ldbm/id2children.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/servers/slapd/back-ldbm/alias.c b/servers/slapd/back-ldbm/alias.c index 28d53eb7b7..75cd074db2 100644 --- a/servers/slapd/back-ldbm/alias.c +++ b/servers/slapd/back-ldbm/alias.c @@ -228,7 +228,7 @@ char *derefDN ( Backend *be, */ if (depth >= be->be_maxDerefDepth) { 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 ); send_ldap_result( conn, op, LDAP_ALIAS_PROBLEM, "", "Maximum alias dereference depth exceeded for base" ); @@ -238,7 +238,7 @@ char *derefDN ( Backend *be, 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); return newDN; diff --git a/servers/slapd/back-ldbm/dn2id.c b/servers/slapd/back-ldbm/dn2id.c index 92336d1ce0..7cc4aec1e2 100644 --- a/servers/slapd/back-ldbm/dn2id.c +++ b/servers/slapd/back-ldbm/dn2id.c @@ -163,7 +163,7 @@ dn2entry( Entry *e = NULL; 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); *matched = NULL; diff --git a/servers/slapd/back-ldbm/id2children.c b/servers/slapd/back-ldbm/id2children.c index aa8a79cecd..d8e1db9886 100644 --- a/servers/slapd/back-ldbm/id2children.c +++ b/servers/slapd/back-ldbm/id2children.c @@ -84,7 +84,7 @@ id2children_remove( key.dsize = strlen( buf ) + 1; 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 ); ldbm_cache_close( be, db ); return( -1 ); -- 2.39.5