cec: clean up lib/platform
[deb_libcec.git] / src / lib / implementations / CECCommandHandler.cpp
index 5fe3ebae6156aabd4c35812e882dffff33431e44..331315d77e7870f6a9e46a9058c5773dc166c5fd 100644 (file)
@@ -959,7 +959,7 @@ bool CCECCommandHandler::Transmit(cec_command &command, bool bExpectResponse /*
     while (!bReturn && ++iTries <= iMaxTries)
     {
       m_expectedResponse = expectedResponse;
-      if ((bReturn = m_processor->Transmit(command)))
+      if ((bReturn = m_processor->Transmit(command)) == true)
       {
         CLibCEC::AddLog(CEC_LOG_DEBUG, "command transmitted");
         if (bExpectResponse)