Browse Source

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

etcp-inflight-fix
Evgeny 4 months ago
parent
commit
f43631a532
  1. 3
      tools/etcpmon/etcpmon_client.c

3
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);

Loading…
Cancel
Save