From 40518cf9b4224e32ab8bbf87dbb35368a5acd129 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 29 May 2001 15:01:23 +0000 Subject: more portable TDB_LOG macro (This used to be commit ba106b9b07b23c3dc1b40c8feb10cff173faa07a) --- source3/tdb/tdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/tdb') diff --git a/source3/tdb/tdb.c b/source3/tdb/tdb.c index eb5ce0aa95..463cfc65ca 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 -- cgit