From fb0952dbeb607542b7feab80b1bbd2b1258cd15f Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 27 Jul 2011 12:35:55 +0200 Subject: Fix bug in hashtable rewrite. * Initialization mixup. --- p11-kit/hashmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p11-kit/hashmap.c b/p11-kit/hashmap.c index 9026827..518a984 100644 --- a/p11-kit/hashmap.c +++ b/p11-kit/hashmap.c @@ -271,7 +271,7 @@ hash_create (hash_hash_func hash_func, return NULL; } - map->num_buckets = 0; + map->num_items = 0; } return map; -- cgit v1.1