epggrab: ota - om_complete load fix

This commit is contained in:
Jaroslav Kysela 2014-11-19 13:17:50 +01:00
parent e59a8b41e7
commit f15b8a6978

View file

@ -742,7 +742,7 @@ epggrab_ota_load_one
free(ota);
return;
}
htsmsg_get_u32(c, "complete", (uint32_t *)&ota->om_complete);
ota->om_complete = htsmsg_get_u32_or_default(c, "complete", 0) != 0;
if (!(l = htsmsg_get_list(c, "modules"))) return;
HTSMSG_FOREACH(f, l) {