From: Lars Op den Kamp Date: Mon, 6 Feb 2012 14:36:55 +0000 (+0100) Subject: cec: fixed typo in CUSBCECAdapterCommunication::Read() X-Git-Tag: upstream/2.2.0~1^2~35^2~144 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=66e5bd7231e47eaef8a6472856443b4acffb48bd;p=deb_libcec.git cec: fixed typo in CUSBCECAdapterCommunication::Read() --- diff --git a/src/lib/adapter/USBCECAdapterCommunication.cpp b/src/lib/adapter/USBCECAdapterCommunication.cpp index 01bf303..1d9f562 100644 --- a/src/lib/adapter/USBCECAdapterCommunication.cpp +++ b/src/lib/adapter/USBCECAdapterCommunication.cpp @@ -291,7 +291,7 @@ bool CUSBCECAdapterCommunication::Read(CCECAdapterMessage &msg, uint32_t iTimeou if (buf) { msg.packet = buf->packet; - msg.state = msg.state = ADAPTER_MESSAGE_STATE_INCOMING; + msg.state = ADAPTER_MESSAGE_STATE_INCOMING; delete buf; return true; }