From: Andreas Ă–man Date: Fri, 10 Aug 2007 11:39:11 +0000 (+0000) Subject: Dont reset status to UNKNOWN upon error X-Git-Tag: 2.12~1512 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f8ca92b87dc6e895eb84bec99b24fb3fb3d3e3f0;p=thirdparty%2Ftvheadend.git Dont reset status to UNKNOWN upon error --- diff --git a/teletext.c b/teletext.c index 003447af0..dec83a30a 100644 --- a/teletext.c +++ b/teletext.c @@ -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;