aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2022-03-15 22:31:47 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2022-03-15 22:31:47 +0100
commit057f7e00561bb2045b2be807d8feb5ec96e272e3 (patch)
tree061a9099eaf4819df0541f0448d6eda08c0b8e0d
parent193b06825a1adb8cb90a7712cf8524deeda7bba6 (diff)
downloaddabmux-057f7e00561bb2045b2be807d8feb5ec96e272e3.tar.gz
dabmux-057f7e00561bb2045b2be807d8feb5ec96e272e3.tar.bz2
dabmux-057f7e00561bb2045b2be807d8feb5ec96e272e3.zip
EDI input: fix warning with number of packets invalid timestamp
-rw-r--r--src/input/Edi.cpp2
1 files changed, 1 insertions, 1 deletions
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);