]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Compare value, not the address of variable
authorUllrich kossow <ullrich.kossow@web.de>
Sun, 17 Aug 2014 21:34:22 +0000 (23:34 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 18 Aug 2014 18:12:32 +0000 (20:12 +0200)
src/dvr/dvr_autorec.c

index c21c7bdaa51b64308d48b53a87d935ad25ef5ea5..21cadbb3e4efad1a556658724343c3d1b106382d 100644 (file)
@@ -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