From 437c68b5fe4905f7420c9d1d1173f025b6a9c154 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 5 Jan 2000 01:48:30 +0000 Subject: use a minimal hash size in the unexpected packet database. A large hash is only useful when we fetch by key, not when we use tdb_traverse() (This used to be commit e154f041e8ec8b1097d4a0c727c68d217effba34) --- source3/libsmb/unexpected.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/libsmb/unexpected.c b/source3/libsmb/unexpected.c index 5106ef60f7..b210fb2504 100644 --- a/source3/libsmb/unexpected.c +++ b/source3/libsmb/unexpected.c @@ -49,7 +49,7 @@ void unexpected_packet(struct packet_struct *p) int len=0; if (!tdb) { - tdb = tdb_open(lock_path("unexpected.tdb"), 0, + tdb = tdb_open(lock_path("unexpected.tdb"), 1, TDB_CLEAR_IF_FIRST, O_RDWR | O_CREAT, 0644); if (!tdb) { -- cgit