diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-05-29 15:01:23 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-05-29 15:01:23 +0000 |
commit | 40518cf9b4224e32ab8bbf87dbb35368a5acd129 (patch) | |
tree | d0a6d059430f87aabbf5b8f3edcb048bde0c28b0 /source3 | |
parent | 1744a49cae89d47b1e6c69840a55d4c817f9c358 (diff) | |
download | samba-40518cf9b4224e32ab8bbf87dbb35368a5acd129.tar.gz samba-40518cf9b4224e32ab8bbf87dbb35368a5acd129.tar.bz2 samba-40518cf9b4224e32ab8bbf87dbb35368a5acd129.zip |
more portable TDB_LOG macro
(This used to be commit ba106b9b07b23c3dc1b40c8feb10cff173faa07a)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/tdb/tdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |