Dont reset status to UNKNOWN upon error
This commit is contained in:
parent
26e65f02bd
commit
f8ca92b87d
1 changed files with 1 additions and 3 deletions
|
@ -350,10 +350,8 @@ teletext_rundown(th_transport_t *t, th_channel_t *ch, tt_page_t *ttp)
|
|||
|
||||
prev = t->tht_tt_commercial_advice;
|
||||
|
||||
if(curlen < 0) {
|
||||
t->tht_tt_commercial_advice = COMMERCIAL_UNKNOWN;
|
||||
if(curlen < 0)
|
||||
return;
|
||||
}
|
||||
|
||||
if(curlen < 400)
|
||||
t->tht_tt_commercial_advice = COMMERCIAL_YES;
|
||||
|
|
Loading…
Add table
Reference in a new issue