]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
epggrab: fix "minor" typo
authorBen Fennema <fennema@google.com>
Mon, 25 May 2015 18:15:57 +0000 (11:15 -0700)
committerJaroslav Kysela <perex@perex.cz>
Mon, 25 May 2015 20:01:32 +0000 (22:01 +0200)
src/epggrab/module.c

index cffdfba133d59bea224b81dd29c434867eb4611f..3bbd31bed6912f9c5b91ded9dcc0c83693da5486 100644 (file)
@@ -167,7 +167,7 @@ void epggrab_module_ch_save ( void *_m, epggrab_channel_t *ch )
   if (ch->major)
     htsmsg_add_u32(m, "major", ch->major);
   if (ch->minor)
-    htsmsg_add_u32(m, "major", ch->minor);
+    htsmsg_add_u32(m, "minor", ch->minor);
 
   hts_settings_save(m, "epggrab/%s/channels/%s", mod->id, ch->id);
   htsmsg_destroy(m);