mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
Display tdb name of "unknown" in logging debug when tdb has not been named.
This commit is contained in:
parent
e05c9b34f0
commit
96c36e51ee
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user