From 36908129196d0a40eb6c4add997a9985f5473343 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Tue, 10 Sep 2024 16:30:50 -0700 Subject: [PATCH] core/log: fix encoding 29 second deltas (again) Forgot the second if statement and didn't actually fix the bug last time. --- src/core/logging.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/logging.cpp b/src/core/logging.cpp index 91408264..1564e895 100644 --- a/src/core/logging.cpp +++ b/src/core/logging.cpp @@ -594,7 +594,7 @@ bool EncodedLogWriter::write(const LogMessage& message) { this->buffer.writeU8(field); - if (secondDelta > 29) { + if (secondDelta >= 0x1d) { if (secondDelta > 0xffff) { writeFullTimestamp(); } else {