From 936ede3b1142a72e44900c33378638cc1dfb54ec Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sun, 25 Oct 2026 03:29:46 +0100 Subject: Remove dead code left over from refactoring --- ot_stats.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'ot_stats.c') diff --git a/ot_stats.c b/ot_stats.c index 7945f4e..f938e91 100644 --- a/ot_stats.c +++ b/ot_stats.c @@ -206,10 +206,6 @@ static size_t stats_return_busy_networks(char *reply, stats_network_node *tree, r += sprintf(r, "%08zd: ", scores[i - 1]); // #ifdef WANT_V6 r += ip_format(r, networks[i - 1]); -#if 0 - // XXX - r += fmt_ip4( r, networks[i - 1]); -#endif *r++ = '\n'; } } @@ -663,10 +659,6 @@ void stats_issue_event(ot_status_event event, PROTO_FLAG proto, uintptr_t event_ } ip_readable[ip_format(ip_readable, (char *)&ws->peer)] = 0; -#if 0 - /* XXX */ - ip_readable[ fmt_ip4( ip_readable, (char*)&ws->peer ) ] = 0; -#endif syslog(LOG_INFO, "time=%s event=completed info_hash=%s peer_id=%s ip=%s", timestring, hash_hex, peerid_hex, ip_readable); } #endif -- cgit v1.3