Buf size adjustment

This commit is contained in:
Sang Seok Lim 2004-12-21 04:46:44 +00:00
parent 94ed6b410d
commit 79d9ef9c87

View File

@ -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 ) {