From: Lars Op den Kamp Date: Mon, 23 Apr 2012 12:48:30 +0000 (+0200) Subject: cec: log the response message when receiving a response in CCECAdapterMessageQueueEnt... X-Git-Tag: upstream/2.2.0~1^2~29^2^2~63 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=90cfaac2259efb20d92744578657c85c6f20b786;p=deb_libcec.git cec: log the response message when receiving a response in CCECAdapterMessageQueueEntry::MessageReceivedResponse() --- diff --git a/src/lib/adapter/USBCECAdapterMessageQueue.cpp b/src/lib/adapter/USBCECAdapterMessageQueue.cpp index 7f98894..6062579 100644 --- a/src/lib/adapter/USBCECAdapterMessageQueue.cpp +++ b/src/lib/adapter/USBCECAdapterMessageQueue.cpp @@ -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;