]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
epggrab: fix assert crash caused by rewrite
authorJaroslav Kysela <perex@perex.cz>
Fri, 18 Sep 2015 08:24:01 +0000 (10:24 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 18 Sep 2015 08:24:01 +0000 (10:24 +0200)
src/epggrab/module.c

index 9fe8a54c1412eea3a84651422fdcc5dc34d0ab8a..6482facd3ccb5c07ad26121bb8f2778494e40d4a 100644 (file)
@@ -98,6 +98,11 @@ static const void *epggrab_mod_class_type_get(void *o)
   return &s;
 }
 
+static int epggrab_mod_class_type_set(void *o, const void *v)
+{
+  return 0;
+}
+
 const idclass_t epggrab_mod_class = {
   .ic_class      = "epggrab_mod",
   .ic_caption    = N_("EPG Grabber"),
@@ -126,6 +131,7 @@ const idclass_t epggrab_mod_class = {
       .id     = "type",
       .name   = N_("Type"),
       .get    = epggrab_mod_class_type_get,
+      .set    = epggrab_mod_class_type_set,
       .opts   = PO_RDONLY | PO_LOCALE,
       .group  = 1,
     },