From: Andreas Ă–man Date: Mon, 6 Jul 2009 21:04:33 +0000 (+0000) Subject: Don't add EPG entry to query if e_title == NULL X-Git-Tag: 2.12~609 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ba15ac635ca2a43e7014532d22f32fee95e0f670;p=thirdparty%2Ftvheadend.git Don't add EPG entry to query if e_title == NULL --- diff --git a/src/epg.c b/src/epg.c index f683f9ab8..938a1c3c1 100644 --- a/src/epg.c +++ b/src/epg.c @@ -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;