mirror of
git://erdgeist.org/opentracker
synced 2025-03-29 01:22:55 +08:00
Initialise top leechers vector
This commit is contained in:
parent
37f5b2403b
commit
59c1c30107
@ -329,6 +329,7 @@ size_t stats_top_txt(char *reply, int amount) {
|
|||||||
|
|
||||||
byte_zero(top100s, sizeof(top100s));
|
byte_zero(top100s, sizeof(top100s));
|
||||||
byte_zero(top100c, sizeof(top100c));
|
byte_zero(top100c, sizeof(top100c));
|
||||||
|
byte_zero(top100l, sizeof(top100l));
|
||||||
|
|
||||||
for (bucket = 0; bucket < OT_BUCKET_COUNT; ++bucket) {
|
for (bucket = 0; bucket < OT_BUCKET_COUNT; ++bucket) {
|
||||||
ot_vector *torrents_list = mutex_bucket_lock(bucket);
|
ot_vector *torrents_list = mutex_bucket_lock(bucket);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user