Compare value, not the address of variable

This commit is contained in:
Ullrich kossow 2014-08-17 23:34:22 +02:00 committed by Jaroslav Kysela
parent a208063195
commit 60ab48a876

View 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