fixed: return value wasn't updated in GetLogicalAddresses()
authorLars Op den Kamp <lars@opdenkamp.eu>
Wed, 14 Nov 2012 23:54:42 +0000 (00:54 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Wed, 14 Nov 2012 23:54:42 +0000 (00:54 +0100)
src/lib/LibCEC.cpp

index 904204a2c8e97a1b7dd01f43ff34125966777382..2cb5b2f6ab55c000645a5114f4d3a6a56184c183 100644 (file)
@@ -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;
 }