diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2024-05-10 16:31:42 +0200 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2024-05-10 16:31:42 +0200 |
| commit | 59c1c30107ccba4c633ae7ca11c3249c88719e83 (patch) | |
| tree | 3e104807624b5fb04636aac88ed2abd5ef176565 | |
| parent | 37f5b2403bd76a785c05afc843572f464410d457 (diff) | |
Initialise top leechers vector
| -rw-r--r-- | ot_stats.c | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -329,6 +329,7 @@ size_t stats_top_txt(char *reply, int amount) { | |||
| 329 | 329 | ||
| 330 | byte_zero(top100s, sizeof(top100s)); | 330 | byte_zero(top100s, sizeof(top100s)); |
| 331 | byte_zero(top100c, sizeof(top100c)); | 331 | byte_zero(top100c, sizeof(top100c)); |
| 332 | byte_zero(top100l, sizeof(top100l)); | ||
| 332 | 333 | ||
| 333 | for (bucket = 0; bucket < OT_BUCKET_COUNT; ++bucket) { | 334 | for (bucket = 0; bucket < OT_BUCKET_COUNT; ++bucket) { |
| 334 | ot_vector *torrents_list = mutex_bucket_lock(bucket); | 335 | ot_vector *torrents_list = mutex_bucket_lock(bucket); |
