Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
epggrab: ota - fix om_requeue handling
  • Loading branch information
perexg committed Nov 18, 2014
1 parent 4f68d03 commit 5df9cdf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/epggrab/otamux.c
Expand Up @@ -195,11 +195,16 @@ epggrab_ota_done ( epggrab_ota_mux_t *om, int reason )
if (!om->om_done && om->om_requeue) {
TAILQ_INSERT_HEAD(&epggrab_ota_pending, om, om_q_link);
om->om_q_type = EPGGRAB_OTA_MUX_PENDING;
} else {
om->om_requeue = 0;
}
} else if (reason == EPGGRAB_OTA_DONE_TIMEOUT) {
om->om_requeue = 0;
LIST_FOREACH(map, &om->om_modules, om_link)
if (!map->om_complete)
tvhlog(LOG_WARNING, "epggrab", "%s - data completion timeout for %s", map->om_module->name, name);
} else {
om->om_requeue = 0;
}

/* Remove subscriber */
Expand Down

0 comments on commit 5df9cdf

Please sign in to comment.