mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
When printing a tdb log message display "unnamed" instead of "unknown" if
the tdb has not been named. (This used to be commit 3e7985c60ee9888285769f1eb0ec81f764c26d91)
This commit is contained in:
parent
c36b31783e
commit
45d3315e32
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user