diff --git a/libi2pd/Log.cpp b/libi2pd/Log.cpp index 8ae417c2..5df8a9fd 100644 --- a/libi2pd/Log.cpp +++ b/libi2pd/Log.cpp @@ -165,7 +165,7 @@ namespace log { while (m_IsRunning) { std::shared_ptr msg; - while (msg = m_Queue.Get ()) + while ((msg = m_Queue.Get ())) Process (msg); if (m_LogStream) m_LogStream->flush(); if (m_IsRunning)