summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-04-29 21:32:55 +0000
committerJeremy Allison <jra@samba.org>2002-04-29 21:32:55 +0000
commite62aa7555b06155200e41b3b358adcf43d3006f2 (patch)
tree336715e2cef40dc46d364c5a62f216cdf7b51928 /source3
parentdec3433303cefed83e1a24ba23b79af99cb353e9 (diff)
downloadsamba-e62aa7555b06155200e41b3b358adcf43d3006f2.tar.gz
samba-e62aa7555b06155200e41b3b358adcf43d3006f2.tar.bz2
samba-e62aa7555b06155200e41b3b358adcf43d3006f2.zip
Added 2.2.x mangle fix to old mangle code in HEAD.
Jeremy. (This used to be commit a7768b9b6fa7522d6afebc43f41a495b8d8ab961)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/mangle_hash.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/mangle_hash.c b/source3/smbd/mangle_hash.c
index f38c2ae2c4..9c1b91712f 100644
--- a/source3/smbd/mangle_hash.c
+++ b/source3/smbd/mangle_hash.c
@@ -127,8 +127,7 @@ static BOOL ct_initialized = False;
static ubi_cacheRoot mangled_cache[1] = { { { 0, 0, 0, 0 }, 0, 0, 0, 0, 0, 0 } };
static BOOL mc_initialized = False;
-#define MANGLED_CACHE_MAX_ENTRIES 0
-#define MANGLED_CACHE_MAX_MEMORY 16384
+#define MANGLED_CACHE_MAX_ENTRIES 1024
/* -------------------------------------------------------------------------- **