cec: log the response message when receiving a response in CCECAdapterMessageQueueEnt...
authorLars Op den Kamp <lars@opdenkamp.eu>
Mon, 23 Apr 2012 12:48:30 +0000 (14:48 +0200)
committerLars Op den Kamp <lars@opdenkamp.eu>
Mon, 23 Apr 2012 12:48:30 +0000 (14:48 +0200)
src/lib/adapter/USBCECAdapterMessageQueue.cpp

index 7f988949e0d93a5b9f10a60c3832a0d64e4ec010..60625796c05f063fe58e6d295ec89a2402c7fbf1 100644 (file)
@@ -196,7 +196,7 @@ bool CCECAdapterMessageQueueEntry::MessageReceivedResponse(const CCECAdapterMess
 {
   {
     CLockObject lock(m_mutex);
-    CLibCEC::AddLog(CEC_LOG_DEBUG, "%s - received response", ToString());
+    CLibCEC::AddLog(CEC_LOG_DEBUG, "%s - received response '%s'", ToString(), CCECAdapterMessage::ToString(message.Message()));
     m_message->response = message.packet;
     if (m_message->IsTranmission())
       m_message->state = message.Message() == MSGCODE_TRANSMIT_SUCCEEDED ? ADAPTER_MESSAGE_STATE_SENT_ACKED : ADAPTER_MESSAGE_STATE_SENT_NOT_ACKED;