diff --git a/src/ebusd/mainloop.cpp b/src/ebusd/mainloop.cpp index 0c0d2ace..0a9f7ac0 100644 --- a/src/ebusd/mainloop.cpp +++ b/src/ebusd/mainloop.cpp @@ -457,7 +457,7 @@ void MainLoop::notifyDeviceData(const symbol_t symbol, bool received) { } if (symbol != SYN) { if (received && !m_logRawLastReceived && symbol == m_logRawLastSymbol) { - return; // skip received echo of previously sent symbol + return; // skip received echo of previously sent symbol } if (m_logRawBuffer.tellp() == 0 || received != m_logRawLastReceived) { m_logRawLastReceived = received; diff --git a/src/lib/ebus/message.cpp b/src/lib/ebus/message.cpp index f4d06b21..0db7540e 100644 --- a/src/lib/ebus/message.cpp +++ b/src/lib/ebus/message.cpp @@ -2322,7 +2322,8 @@ vector MessageMap::getLoadedFiles() const { return ret; } -bool MessageMap::getLoadedFileInfo(const string filename, string& comment, size_t* hash, size_t* size, time_t* time) const { +bool MessageMap::getLoadedFileInfo(const string filename, string& comment, size_t* hash, size_t* size, time_t* time) + const { const auto it = m_loadedFileInfos.find(filename); if (it == m_loadedFileInfos.end()) { comment = "";