From: Ullrich kossow Date: Sun, 17 Aug 2014 21:34:22 +0000 (+0200) Subject: Compare value, not the address of variable X-Git-Tag: v4.1~1513 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=60ab48a876770bec552d2dd33bc896e56afddc59;p=thirdparty%2Ftvheadend.git Compare value, not the address of variable --- diff --git a/src/dvr/dvr_autorec.c b/src/dvr/dvr_autorec.c index c21c7bdaa..21cadbb3e 100644 --- a/src/dvr/dvr_autorec.c +++ b/src/dvr/dvr_autorec.c @@ -85,8 +85,8 @@ autorec_cmp(dvr_autorec_entry_t *dae, epg_broadcast_t *e) dae->dae_title[0] == '\0') && dae->dae_brand == NULL && dae->dae_season == NULL && - &dae->dae_minduration == NULL && - &dae->dae_maxduration == NULL && + dae->dae_minduration == 0 && + dae->dae_maxduration == 0 && dae->dae_serieslink == NULL) return 0; // Avoid super wildcard match