mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
timerlist: try to fix segfault in askUserOnTimerConflict()
Origin commit data
------------------
Commit: b70160a992
Author: FlatTV <FlatTV@gmx.de>
Date: 2016-11-06 (Sun, 06 Nov 2016)
Origin message was:
------------------
- timerlist: try to fix segfault in askUserOnTimerConflict()
This commit is contained in:
@@ -1822,8 +1822,10 @@ bool CTimerList::askUserOnRemoteTimerConflict(time_t announceTime, time_t stopTi
|
||||
bool askUserOnTimerConflict(time_t announceTime, time_t stopTime, t_channel_id channel_id)
|
||||
{
|
||||
//NI
|
||||
bool useCI = false;
|
||||
CZapitChannel * channel = CServiceManager::getInstance()->FindChannel(channel_id);
|
||||
bool useCI = channel->bUseCI;
|
||||
if (channel)
|
||||
useCI = channel->bUseCI;
|
||||
|
||||
if (CFEManager::getInstance()->getEnabledCount() == 1 || useCI) { //NI
|
||||
CTimerdClient Timer;
|
||||
|
Reference in New Issue
Block a user