From 057f7e00561bb2045b2be807d8feb5ec96e272e3 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 15 Mar 2022 22:31:47 +0100 Subject: EDI input: fix warning with number of packets invalid timestamp --- src/input/Edi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/Edi.cpp b/src/input/Edi.cpp index 3442f1f..ebeca77 100644 --- a/src/input/Edi.cpp +++ b/src/input/Edi.cpp @@ -280,7 +280,7 @@ size_t Edi::readFrame(uint8_t *buffer, size_t size, std::time_t seconds, int utc if (num_discarded_invalid_ts > 0) { etiLog.level(warn) << "EDI input " << m_name << ": " << - num_discarded_wrong_size << " packets with invalid timestamp."; + num_discarded_invalid_ts << " packets with invalid timestamp."; } memset(buffer, 0, size); -- cgit v1.2.3