diff options
author | Tim Potter <tpot@samba.org> | 2002-04-09 23:03:17 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-04-09 23:03:17 +0000 |
commit | 45d3315e3233ad8b9f04cf31537f495438d9348e (patch) | |
tree | eeee71a94af83a4725562516b04587eba185fcc0 /source3 | |
parent | c36b31783e172e683de5bfa1c7df8158acfb2ae5 (diff) | |
download | samba-45d3315e3233ad8b9f04cf31537f495438d9348e.tar.gz samba-45d3315e3233ad8b9f04cf31537f495438d9348e.tar.bz2 samba-45d3315e3233ad8b9f04cf31537f495438d9348e.zip |
When printing a tdb log message display "unnamed" instead of "unknown" if
the tdb has not been named.
(This used to be commit 3e7985c60ee9888285769f1eb0ec81f764c26d91)
Diffstat (limited to 'source3')
-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 f7cebb58d5..3e16a03047 100644 --- a/source3/tdb/tdbutil.c +++ b/source3/tdb/tdbutil.c @@ -474,7 +474,7 @@ static void tdb_log(TDB_CONTEXT *tdb, int level, const char *format, ...) if (!ptr || !*ptr) return; - DEBUG(level, ("tdb(%s): %s", tdb->name ? tdb->name : "unknown", ptr)); + DEBUG(level, ("tdb(%s): %s", tdb->name ? tdb->name : "unnamed", ptr)); SAFE_FREE(ptr); } |