summaryrefslogtreecommitdiff
path: root/source3/libsmb/unexpected.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-01-05 01:48:30 +0000
committerAndrew Tridgell <tridge@samba.org>2000-01-05 01:48:30 +0000
commit437c68b5fe4905f7420c9d1d1173f025b6a9c154 (patch)
tree5c36b9ba298b2b212b47cc82e1dccb4100a28063 /source3/libsmb/unexpected.c
parent794aafe349fb37e75630a7fca8da7a1cfe6f4c40 (diff)
downloadsamba-437c68b5fe4905f7420c9d1d1173f025b6a9c154.tar.gz
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)
Diffstat (limited to 'source3/libsmb/unexpected.c')
-rw-r--r--source3/libsmb/unexpected.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/unexpected.c b/source3/libsmb/unexpected.c
index 5106ef60f7f..b210fb2504d 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) {