mirror of
https://github.com/samba-team/samba.git
synced 2024-12-29 11:21:54 +03:00
Display tdb name of "unknown" in logging debug when tdb has not been named.
(This used to be commit 96c36e51ee
)
This commit is contained in:
parent
a45dbdd722
commit
5916634a3a
@ -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