From: Dale Weiler Date: Sun, 2 Jun 2013 08:52:30 +0000 (+0000) Subject: Fix output X-Git-Tag: v0.3.0~151^2~12 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c1a9ce3404b9b2d1cc7bc5192a9c1ccc6fcafbbc;p=xonotic%2Fgmqcc.git Fix output --- 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; }