From f43631a5323cac19f095ff876aaa8af5c02299e3 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Mon, 1 Jun 2026 20:31:52 +0300 Subject: [PATCH] =?UTF-8?q?etcpmon:=20=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=B8=D1=82=D1=8C=20=D1=81=D0=B8=D0=BD=D1=82=D0=B0=D0=BA=D1=81?= =?UTF-8?q?=D0=B8=D1=81=20=E2=80=94=20orphaned=20=D0=BA=D0=BE=D0=B4=20?= =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=B5=D0=BD=D0=B5=D1=81=D1=91=D0=BD=20=D0=B2?= =?UTF-8?q?=D0=BD=D1=83=D1=82=D1=80=D1=8C=20=D1=84=D1=83=D0=BD=D0=BA=D1=86?= =?UTF-8?q?=D0=B8=D0=B8=20etcpmon=5Fclient=5Fadd=5Fto=5Fhistory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/etcpmon/etcpmon_client.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/etcpmon/etcpmon_client.c b/tools/etcpmon/etcpmon_client.c index 7eae1e05..8454fdf8 100644 --- a/tools/etcpmon/etcpmon_client.c +++ b/tools/etcpmon/etcpmon_client.c @@ -880,8 +880,7 @@ void etcpmon_client_add_to_history(struct etcpmon_client* client, struct etcpmon h->head = (h->head + 1) % GRAPH_HISTORY_SIZE; if (h->count < GRAPH_HISTORY_SIZE) h->count++; -} - + if (client->log_file) { fprintf(client->log_file, "history updated: count=%d head=%d\n", h->count, h->head); fflush(client->log_file);