X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcapputil%2Fsilcidcache.c;fp=lib%2Fsilcapputil%2Fsilcidcache.c;h=d189e9321ee8568cab41ec777d86d324de3946f9;hb=c83ba40afd93d30aa4464a1fed61387373c41d87;hp=a6d8c26edeb7e4a49ad77917f76deb19c8f1e185;hpb=57fdb449ba19b3303f5c48e0b222b8bb731868eb;p=silc.git diff --git a/lib/silcapputil/silcidcache.c b/lib/silcapputil/silcidcache.c index a6d8c26e..d189e932 100644 --- a/lib/silcapputil/silcidcache.c +++ b/lib/silcapputil/silcidcache.c @@ -78,15 +78,15 @@ SilcIDCache silc_idcache_alloc(SilcUInt32 count, SilcIdType id_type, if (!cache) return NULL; - cache->id_table = silc_hash_table_alloc(count, silc_hash_id, + cache->id_table = silc_hash_table_alloc(NULL, count, silc_hash_id, SILC_32_TO_PTR(id_type), silc_hash_id_compare, SILC_32_TO_PTR(id_type), NULL, NULL, TRUE); - cache->name_table = silc_hash_table_alloc(count, silc_hash_utf8_string, NULL, - silc_hash_utf8_compare, NULL, + cache->name_table = silc_hash_table_alloc(NULL, count, silc_hash_utf8_string, + NULL, silc_hash_utf8_compare, NULL, NULL, NULL, TRUE); - cache->context_table = silc_hash_table_alloc(count, silc_hash_ptr, NULL, + cache->context_table = silc_hash_table_alloc(NULL, count, silc_hash_ptr, NULL, NULL, NULL, NULL, NULL, TRUE); cache->destructor = destructor; cache->context = destructor_context;