git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a45dbdd
)
Display tdb name of "unknown" in logging debug when tdb has not been named.
author
Tim Potter
<tpot@samba.org>
Tue, 22 Jan 2002 00:36:53 +0000
(
00:36
+0000)
committer
Tim Potter
<tpot@samba.org>
Tue, 22 Jan 2002 00:36:53 +0000
(
00:36
+0000)
(This used to be commit
96c36e51ee4df4c46e5e9e611844dfa83260f606
)
source3/tdb/tdbutil.c
patch
|
blob
|
history
diff --git
a/source3/tdb/tdbutil.c
b/source3/tdb/tdbutil.c
index 9ca4430136628dc6f93bb622782c7774462a2b56..5f94633d26e9188e178c43878723c6dfbc445873 100644
(file)
--- 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);
}