Minor tweak to setup ota grabber mux link.
This commit is contained in:
parent
43a886913d
commit
d9ff109b58
1 changed files with 5 additions and 1 deletions
|
@ -33,7 +33,11 @@ epggrab_ota_mux_t *epggrab_ota_register
|
|||
|
||||
/* Check for existing */
|
||||
LIST_FOREACH(ota, &ota_muxes, glob_link) {
|
||||
if (ota->grab == mod && ota->tdmi == tdmi) return ota;
|
||||
if (ota->grab == mod && ota->tdmi == tdmi) {
|
||||
ota->timeout = MAX(ota->timeout, timeout);
|
||||
ota->interval = MIN(ota->interval, interval);
|
||||
return ota;
|
||||
}
|
||||
}
|
||||
|
||||
/* Install new */
|
||||
|
|
Loading…
Add table
Reference in a new issue