etcpmon: исправить синтаксис — orphaned код перенесён внутрь функции etcpmon_client_add_to_history

This commit is contained in:
Evgeny committed 2026-06-01 20:31:52 +03:00
1 parent 71b5173123
commit 246cdc05dc
1 file changed
+1 -2
+1 -2
View File
@@ -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);