From: Lars Op den Kamp Date: Sat, 25 Feb 2012 10:07:56 +0000 (+0100) Subject: fixed two more accidental double derefs X-Git-Tag: upstream/2.2.0~1^2~33^2~36 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=dfc47c76cb9d8933cce21896932f8e94af98311a;p=deb_libcec.git fixed two more accidental double derefs --- diff --git a/src/lib/adapter/USBCECAdapterCommunication.h b/src/lib/adapter/USBCECAdapterCommunication.h index d1f033f..8cc701f 100644 --- a/src/lib/adapter/USBCECAdapterCommunication.h +++ b/src/lib/adapter/USBCECAdapterCommunication.h @@ -106,7 +106,7 @@ namespace CEC PLATFORM::SyncedBuffer m_inBuffer; PLATFORM::SyncedBuffer m_outBuffer; PLATFORM::CMutex m_mutex; - PLATFORM::CCondition m_rcvCondition; + PLATFORM::CCondition m_rcvCondition; volatile bool m_bHasData; uint8_t m_iLineTimeout; uint16_t m_iFirmwareVersion; diff --git a/src/lib/platform/sockets/socket.h b/src/lib/platform/sockets/socket.h index 369fbe4..f56d515 100644 --- a/src/lib/platform/sockets/socket.h +++ b/src/lib/platform/sockets/socket.h @@ -220,9 +220,9 @@ namespace PLATFORM m_condition.Signal(); } - _Socket * m_socket; - CMutex m_mutex; - CCondition m_condition; - bool m_bIsIdle; + _Socket * m_socket; + CMutex m_mutex; + CCondition m_condition; + bool m_bIsIdle; }; };