From c1a9ce3404b9b2d1cc7bc5192a9c1ccc6fcafbbc Mon Sep 17 00:00:00 2001 From: Dale Weiler Date: Sun, 2 Jun 2013 08:52:30 +0000 Subject: [PATCH] Fix output --- stat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stat.c b/stat.c index 3d4d4a4..0192a2f 100644 --- a/stat.c +++ b/stat.c @@ -323,14 +323,14 @@ hash_table_t *util_htnew(size_t size) { if ((find = stat_size_get(stat_size_hashtables, size))) find->value++; else { - stat_used_hashtables++; + stat_type_hashtables++; stat_size_put(stat_size_hashtables, size, 1); } hashtable->size = size; memset(hashtable->table, 0, sizeof(hash_node_t*) * size); - stat_type_hashtables++; + stat_used_hashtables++; return hashtable; } -- 2.39.2