]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
eit: compilation fix (copy-n-paste error)
authorJaroslav Kysela <perex@perex.cz>
Fri, 22 Jun 2018 08:11:23 +0000 (10:11 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 22 Jun 2018 08:11:23 +0000 (10:11 +0200)
src/epggrab/module/eit.c

index 3fdd46b0aef2f29c60791046ebfcb5e42b356d24..e76f15e4ca48ad0bbde2c8ede4da6f6de4b5928e 100644 (file)
@@ -1544,8 +1544,8 @@ static void eit_init_one ( const char *id, htsmsg_t *conf )
     HTSMSG_FOREACH(f, map) {
       sdt = calloc(1, sizeof(*sdt));
       if ((e = htsmsg_field_get_map(f)) != NULL) {
-        eit_parse_list(e, "onid", nit->onid, ARRAY_SIZE(sdt->onid), &sdt->onid_count);
-        eit_parse_list(e, "tsid", nit->tsid, ARRAY_SIZE(sdt->tsid), &sdt->tsid_count);
+        eit_parse_list(e, "onid", sdt->onid, ARRAY_SIZE(sdt->onid), &sdt->onid_count);
+        eit_parse_list(e, "tsid", sdt->tsid, ARRAY_SIZE(sdt->tsid), &sdt->tsid_count);
       }
       LIST_INSERT_HEAD(&priv->sdt, sdt, link);
     }