diff options
author | Tim Potter <tpot@samba.org> | 2002-01-22 00:36:53 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-01-22 00:36:53 +0000 |
commit | 5916634a3abe193ed68ab2b75dd0cdd0c8fdeb44 (patch) | |
tree | e937888375945dbf1163f0acaec130ce6ae35203 | |
parent | a45dbdd722132d4a21da7817041601db073ac0bc (diff) | |
download | samba-5916634a3abe193ed68ab2b75dd0cdd0c8fdeb44.tar.gz samba-5916634a3abe193ed68ab2b75dd0cdd0c8fdeb44.tar.xz samba-5916634a3abe193ed68ab2b75dd0cdd0c8fdeb44.zip |
Display tdb name of "unknown" in logging debug when tdb has not been named.
(This used to be commit 96c36e51ee4df4c46e5e9e611844dfa83260f606)
-rw-r--r-- | source3/tdb/tdbutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/tdb/tdbutil.c b/source3/tdb/tdbutil.c index 9ca4430136..5f94633d26 100644 --- a/source3/tdb/tdbutil.c +++ b/source3/tdb/tdbutil.c @@ -472,7 +472,7 @@ static void tdb_log(TDB_CONTEXT *tdb, int level, const char *format, ...) if (!ptr || !*ptr) return; - DEBUG(level, ("tdb(%s): %s", tdb->name, ptr)); + DEBUG(level, ("tdb(%s): %s", tdb->name ? tdb->name : "unknown", ptr)); SAFE_FREE(ptr); } |