From: Jaroslav Kysela Date: Fri, 30 Oct 2015 16:42:37 +0000 (+0100) Subject: epggrab: fix is_paired() fcn - inverted result, fixes #3227 X-Git-Tag: v4.2.1~1725 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=77d14ab309bf601ad13004c9561bcf14873f3fd5;p=thirdparty%2Ftvheadend.git epggrab: fix is_paired() fcn - inverted result, fixes #3227 --- 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