]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Dont reset status to UNKNOWN upon error
authorAndreas Öman <andreas@lonelycoder.com>
Fri, 10 Aug 2007 11:39:11 +0000 (11:39 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Fri, 10 Aug 2007 11:39:11 +0000 (11:39 +0000)
teletext.c

index 003447af006adc16bcf7dd2f5bba9a843631ea9b..dec83a30ad053a18f8a6e9b5066a403c28277531 100644 (file)
@@ -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;