mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 14:12:36 +00:00
Fix output
This commit is contained in:
parent
c569e87bd0
commit
c1a9ce3404
1 changed files with 2 additions and 2 deletions
4
stat.c
4
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue