]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
epg: fix the grabber selection by priority, fixes #3789
authorJaroslav Kysela <perex@perex.cz>
Mon, 9 May 2016 15:02:53 +0000 (17:02 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 9 May 2016 15:02:53 +0000 (17:02 +0200)
src/epg.c

index f3dc7fe529acb0f31dc31992ab033925cee205dc..67c5ae526a5744d7979fc48d8bb26ce96a51a61c 100644 (file)
--- a/src/epg.c
+++ b/src/epg.c
@@ -1649,7 +1649,7 @@ static epg_broadcast_t *_epg_channel_add_broadcast
     /* Existing */
     } else {
       if (!_epg_object_set_grabber(ret, src))
-        return ret;
+        return NULL;
 
       /* No time change */
       if (ret->stop == (*bcast)->stop) {