From 79d9ef9c87e3444809a0fd106a4c282f1e24b25b Mon Sep 17 00:00:00 2001 From: Sang Seok Lim Date: Tue, 21 Dec 2004 04:46:44 +0000 Subject: [PATCH] Buf size adjustment --- servers/slapd/component.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/component.c b/servers/slapd/component.c index e35fff1a67..bbed15f530 100644 --- a/servers/slapd/component.c +++ b/servers/slapd/component.c @@ -1207,7 +1207,7 @@ test_comp_filter_item( if ( !a->a_comp_data && attr_converter && nibble_mem_allocator ) { a->a_comp_data = malloc( sizeof( ComponentData ) ); /* Memory chunk pre-allocation for decoders */ - a->a_comp_data->cd_mem_op = nibble_mem_allocator ( 1024, 128 ); + a->a_comp_data->cd_mem_op = nibble_mem_allocator ( 1024*4, 1024 ); a->a_comp_data->cd_tree = attr_converter (a, syn, bv); } @@ -1220,7 +1220,7 @@ test_comp_filter_item( /* Memory for storing will-be-extracted attribute values */ attr_nm = nibble_mem_allocator ( 1024*4 , 1024 ); - if ( !attr_nm )return LDAP_PROTOCOL_ERROR; + if ( !attr_nm ) return LDAP_PROTOCOL_ERROR; /* Memory for storing component assertion values */ if( !ca->ca_comp_data.cd_mem_op ) { -- 2.39.5