mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
zapit/src/getservices.cpp: mask also id to search in FindChannel48
Origin commit data
------------------
Branch: ni/coolstream
Commit: 52af48dd89
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-04-02 (Mon, 02 Apr 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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)
|
||||
{
|
||||
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 NULL;
|
||||
|
Reference in New Issue
Block a user