clang fixes

This commit is contained in:
SChernykh
2021-08-23 11:31:16 +02:00
parent 133b8dde19
commit 4a5691e349
3 changed files with 7 additions and 19 deletions
+1 -1
View File
@@ -447,7 +447,7 @@ bool TCPServer<READ_BUF_SIZE, WRITE_BUF_SIZE>::send_internal(Client* client, Sen
const size_t bytes_written = callback(buf->m_data);
if (bytes_written > sizeof(buf->m_data)) {
LOGERR(0, "send callback wrote " << bytes_written << " bytes, expected no more than " << log::Str<sizeof(buf->m_data)>() << " bytes");
LOGERR(0, "send callback wrote " << bytes_written << " bytes, expected no more than " << sizeof(buf->m_data) << " bytes");
panic();
}