Don't add EPG entry to query if e_title == NULL

This commit is contained in:
Andreas Öman 2009-07-06 21:04:33 +00:00
parent 47d8db11e4
commit ba15ac635c

View file

@ -455,6 +455,9 @@ epg_init(void)
static void
eqr_add(epg_query_result_t *eqr, event_t *e, regex_t *preg, time_t now)
{
if(e->e_title == NULL)
return;
if(preg != NULL && regexec(preg, e->e_title, 0, NULL, 0))
return;