From: Lars Op den Kamp Date: Wed, 14 Nov 2012 23:54:42 +0000 (+0100) Subject: fixed: return value wasn't updated in GetLogicalAddresses() X-Git-Tag: upstream/2.2.0~1^2~12^2~9 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=6d5033117aacb1be07d93b99a82115146af4d623;p=deb_libcec.git fixed: return value wasn't updated in GetLogicalAddresses() --- diff --git a/src/lib/LibCEC.cpp b/src/lib/LibCEC.cpp index 904204a..2cb5b2f 100644 --- a/src/lib/LibCEC.cpp +++ b/src/lib/LibCEC.cpp @@ -328,7 +328,7 @@ cec_logical_addresses CLibCEC::GetLogicalAddresses(void) cec_logical_addresses addresses; addresses.Clear(); if (m_client) - m_client->GetLogicalAddresses(); + addresses = m_client->GetLogicalAddresses(); return addresses; }