mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 02:41:12 +02:00
zapit/src/getservices.cpp: mask also id to search in FindChannel48
Origin commit data
------------------
Commit: 52af48dd89
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-04-02 (Mon, 02 Apr 2012)
This commit is contained in:
@@ -209,7 +209,7 @@ CZapitChannel * CServiceManager::FindCurrentChannel(const t_channel_id channel_i
|
|||||||
CZapitChannel * CServiceManager::FindChannel48(const t_channel_id channel_id)
|
CZapitChannel * CServiceManager::FindChannel48(const t_channel_id channel_id)
|
||||||
{
|
{
|
||||||
for (channel_map_iterator_t it = allchans.begin(); it != allchans.end(); ++it) {
|
for (channel_map_iterator_t it = allchans.begin(); it != allchans.end(); ++it) {
|
||||||
if((it->second.getChannelID() & 0xFFFFFFFFFFFFULL) == channel_id)
|
if((it->second.getChannelID() & 0xFFFFFFFFFFFFULL) == (channel_id & 0xFFFFFFFFFFFFULL))
|
||||||
return &it->second;
|
return &it->second;
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Reference in New Issue
Block a user