From 77d14ab309bf601ad13004c9561bcf14873f3fd5 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 30 Oct 2015 17:42:37 +0100 Subject: [PATCH] epggrab: fix is_paired() fcn - inverted result, fixes #3227 --- src/epggrab/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/epggrab/channel.c b/src/epggrab/channel.c index 24e91e7cc..9cd808d5a 100644 --- a/src/epggrab/channel.c +++ b/src/epggrab/channel.c @@ -39,7 +39,7 @@ SKEL_DECLARE(epggrab_channel_skel, epggrab_channel_t); static inline int is_paired( epggrab_channel_t *ec ) { - return !ec->only_one || !LIST_FIRST(&ec->channels); + return ec->only_one && LIST_FIRST(&ec->channels); } static inline int -- 2.47.3