From 59c1c30107ccba4c633ae7ca11c3249c88719e83 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Fri, 10 May 2024 16:31:42 +0200 Subject: Initialise top leechers vector --- ot_stats.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ot_stats.c') diff --git a/ot_stats.c b/ot_stats.c index 245961d..b2eaec9 100644 --- a/ot_stats.c +++ b/ot_stats.c @@ -329,6 +329,7 @@ size_t stats_top_txt(char *reply, int amount) { byte_zero(top100s, sizeof(top100s)); byte_zero(top100c, sizeof(top100c)); + byte_zero(top100l, sizeof(top100l)); for (bucket = 0; bucket < OT_BUCKET_COUNT; ++bucket) { ot_vector *torrents_list = mutex_bucket_lock(bucket); -- cgit v1.2.3