]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
Fix output
authorDale Weiler <killfieldengine@gmail.com>
Sun, 2 Jun 2013 08:52:30 +0000 (08:52 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Sun, 2 Jun 2013 08:52:30 +0000 (08:52 +0000)
stat.c

diff --git a/stat.c b/stat.c
index 3d4d4a44b71e6c0672ac194d76d31874f8488733..0192a2fa71171143f41902fad8f0043745a86b36 100644 (file)
--- 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;
 }