projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa11cfa
)
* Suppress display of zero-length Berkeley DB log messages
author
Art Cancro
<ajc@citadel.org>
Fri, 19 Dec 2008 03:45:02 +0000
(
03:45
+0000)
committer
Art Cancro
<ajc@citadel.org>
Fri, 19 Dec 2008 03:45:02 +0000
(
03:45
+0000)
citadel/database.c
patch
|
blob
|
history
diff --git
a/citadel/database.c
b/citadel/database.c
index 891e31fb54eb294e9cbcff9f1db97f1940937512..9aa870091d6f1dc4684e20617a9149823cff6305 100644
(file)
--- a/
citadel/database.c
+++ b/
citadel/database.c
@@
-69,7
+69,9
@@
static DB_ENV *dbenv; /* The DB environment (global) */
/* Verbose logging callback */
void cdb_verbose_log(const DB_ENV *dbenv, const char *msg)
{
- CtdlLogPrintf(CTDL_DEBUG, "BDB: %s\n", msg);
+ if (!IsEmptyStr(msg)) {
+ CtdlLogPrintf(CTDL_DEBUG, "DB: %s\n", msg);
+ }
}