summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2011-07-27 12:35:55 +0200
committerStef Walter <stefw@collabora.co.uk>2011-07-27 12:35:55 +0200
commitfb0952dbeb607542b7feab80b1bbd2b1258cd15f (patch)
tree91a1bfc21ccdcbffeab113dd389583fbacf9f7e1
parent9add486d5bbb2ac6a3566e21d729107c26de77a3 (diff)
Fix bug in hashtable rewrite.
* Initialization mixup.
-rw-r--r--p11-kit/hashmap.c2
1 files changed, 1 insertions, 1 deletions
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;