]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Must set e_channel when creating an epg event.
authorAndreas Öman <andreas@lonelycoder.com>
Fri, 5 Sep 2008 22:05:56 +0000 (22:05 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Fri, 5 Sep 2008 22:05:56 +0000 (22:05 +0000)
epg.c

diff --git a/epg.c b/epg.c
index 2c678f76dac27980ae46b98ee929d9a588289a7f..6b9044ce85a6980b7bb70e9be0abdf5cf37fb15c 100644 (file)
--- a/epg.c
+++ b/epg.c
@@ -132,6 +132,8 @@ epg_event_find_by_start(channel_t *ch, time_t start, int create)
     /* New entry was inserted */
     e = skel;
     skel = NULL;
+
+    e->e_channel = ch;
     epg_event_changed(e);
   }