summaryrefslogtreecommitdiff
path: root/source3/tdb/tdbutil.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-08-25 01:04:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:29 -0500
commitf98af01f43d37d9d633ec8861232fc1c7f66d3f9 (patch)
treed3e6ed20ddaaa4661569b8db9bcd360faf395b74 /source3/tdb/tdbutil.c
parenta96dfe038e98234698e1967c54be5f4a2a47fa09 (diff)
downloadsamba-f98af01f43d37d9d633ec8861232fc1c7f66d3f9.tar.gz
samba-f98af01f43d37d9d633ec8861232fc1c7f66d3f9.tar.bz2
samba-f98af01f43d37d9d633ec8861232fc1c7f66d3f9.zip
r2032: If you're selecting a hash algorithm for tdb, you need to do it at open time,
it doesn't make sense anywhere else. Jeremy. (This used to be commit d7ea1ea8fb3420ca1ad8d95acdc43313898200ff)
Diffstat (limited to 'source3/tdb/tdbutil.c')
-rw-r--r--source3/tdb/tdbutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/tdb/tdbutil.c b/source3/tdb/tdbutil.c
index 09e55e2e70..e57eccfe59 100644
--- a/source3/tdb/tdbutil.c
+++ b/source3/tdb/tdbutil.c
@@ -740,7 +740,7 @@ TDB_CONTEXT *tdb_open_log(const char *name, int hash_size, int tdb_flags,
tdb_flags |= TDB_NOMMAP;
tdb = tdb_open_ex(name, hash_size, tdb_flags,
- open_flags, mode, tdb_log);
+ open_flags, mode, tdb_log, NULL);
if (!tdb)
return NULL;