]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Don't add EPG entry to query if e_title == NULL
authorAndreas Öman <andreas@lonelycoder.com>
Mon, 6 Jul 2009 21:04:33 +0000 (21:04 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Mon, 6 Jul 2009 21:04:33 +0000 (21:04 +0000)
src/epg.c

index f683f9ab802e98d9eeca2364b6a73d0ad276886c..938a1c3c1612ece5acd112e2da2726b861a07a1c 100644 (file)
--- 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;