From 2b87dc1c3d64b5fdcf1bd82234ab57619f82f015 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Mon, 2 Nov 2026 02:57:31 +0100 Subject: Remove version string from what is reported over http --- ot_stats.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'ot_stats.c') diff --git a/ot_stats.c b/ot_stats.c index 59a9f04..8771f0c 100644 --- a/ot_stats.c +++ b/ot_stats.c @@ -514,9 +514,6 @@ static void stats_return_everything(char **reply, const char *reply_end) { fmt_append(reply, reply_end, "\n"); fmt_append(reply, reply_end, "\n"); fmt_append(reply, reply_end, " %" PRIu32 "\n", g_tracker_id); - fmt_append(reply, reply_end, " \n"); - stats_return_tracker_version(reply, reply_end); - fmt_append(reply, reply_end, " \n"); fmt_append(reply, reply_end, " %llu\n", (unsigned long long)(time(NULL) - ot_start_time)); fmt_append(reply, reply_end, " \n"); fmt_append(reply, reply_end, " %zd\n", mutex_get_torrent_count()); @@ -666,9 +663,6 @@ void return_stats_for_tracker(char **reply, const char *reply_end, int mode, int case TASK_STATS_HTTPERRORS: stats_httperrors_txt(reply, reply_end); break; - case TASK_STATS_VERSION: - stats_return_tracker_version(reply, reply_end); - break; case TASK_STATS_RENEW: stats_return_renew_bucket(reply, reply_end); break; -- cgit v1.3