summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-05-29 15:01:23 +0000
committerAndrew Tridgell <tridge@samba.org>2001-05-29 15:01:23 +0000
commit40518cf9b4224e32ab8bbf87dbb35368a5acd129 (patch)
treed0a6d059430f87aabbf5b8f3edcb048bde0c28b0 /source3
parent1744a49cae89d47b1e6c69840a55d4c817f9c358 (diff)
downloadsamba-40518cf9b4224e32ab8bbf87dbb35368a5acd129.tar.gz
samba-40518cf9b4224e32ab8bbf87dbb35368a5acd129.tar.xz
samba-40518cf9b4224e32ab8bbf87dbb35368a5acd129.zip
more portable TDB_LOG macro
(This used to be commit ba106b9b07b23c3dc1b40c8feb10cff173faa07a)
Diffstat (limited to 'source3')
-rw-r--r--source3/tdb/tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/tdb/tdb.c b/source3/tdb/tdb.c
index eb5ce0aa952..463cfc65caa 100644
--- a/source3/tdb/tdb.c
+++ b/source3/tdb/tdb.c
@@ -56,7 +56,7 @@
#define TDB_DEAD(r) ((r)->magic == TDB_DEAD_MAGIC)
#define TDB_BAD_MAGIC(r) ((r)->magic != TDB_MAGIC && !TDB_DEAD(r))
#define TDB_HASH_TOP(hash) (FREELIST_TOP + (BUCKET(hash)+1)*sizeof(tdb_off))
-#define TDB_LOG(x) (tdb->log_fn?tdb->log_fn x : 0)
+#define TDB_LOG(x) (tdb->log_fn?tdb->log_fn x,0 : 0)
/* lock offsets */
#define GLOBAL_LOCK 0