From: Jaroslav Kysela Date: Fri, 13 Apr 2018 18:35:12 +0000 (+0200) Subject: epg: fix the running check in _epg_channel_timer_callback(), fixes #5067 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=518d57bee25cf89ea04ec80e7974f64778b03ed0;p=thirdparty%2Ftvheadend.git epg: fix the running check in _epg_channel_timer_callback(), fixes #5067 --- diff --git a/src/epg.c b/src/epg.c index 0f9ad14eb..5cad23461 100644 --- a/src/epg.c +++ b/src/epg.c @@ -498,7 +498,7 @@ static void _epg_channel_timer_callback ( void *p ) /* Clear now/next */ if ((cur = ch->ch_epg_now)) { - if (cur->running != EPG_RUNNING_STOP) { + if (cur->running != EPG_RUNNING_STOP && cur->running != EPG_RUNNING_NOTSET) { /* running? don't do anything */ gtimer_arm_rel(&ch->ch_epg_timer, _epg_channel_timer_callback, ch, 2); return;