]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
xmltv: Use epggrab_module_int_t instead of ext_t. (#3753).
authorE.Smith <31170571+azlm8t@users.noreply.github.com>
Tue, 21 Nov 2017 11:03:13 +0000 (11:03 +0000)
committerJaroslav Kysela <perex@perex.cz>
Mon, 18 Dec 2017 08:41:06 +0000 (09:41 +0100)
The epggrab_module_ext_t derives from the epggrab_module_int_t
so we should really use the epggrab_module_int_t to make it
clearer that the fields are in the base class.

Issue: #3753.

src/epggrab/module/xmltv.c

index ff421dd36c019003b3d66a941c4285c00619c4e2..f2b17aaa62a2f89b2a27139e07403f72ae9ffcba 100644 (file)
@@ -605,8 +605,8 @@ static int _xmltv_parse_programme_tags
    time_t start, time_t stop, const char *icon,
    epggrab_stats_t *stats)
 {
-  const int scrape_extra = ((epggrab_module_ext_t *)mod)->xmltv_scrape_extra;
-  const int scrape_onto_desc = ((epggrab_module_ext_t *)mod)->xmltv_scrape_onto_desc;
+  const int scrape_extra = ((epggrab_module_int_t *)mod)->xmltv_scrape_extra;
+  const int scrape_onto_desc = ((epggrab_module_int_t *)mod)->xmltv_scrape_onto_desc;
   const int use_category_not_genre = ((epggrab_module_int_t *)mod)->xmltv_use_category_not_genre;
   int save = 0, save2 = 0, save3 = 0;
   epg_episode_t *ee = NULL;