Project

General

Profile

Bug #4875 » new_om_retry_time.patch

Igor Mokrushin, 2018-01-21 23:19

View differences:

tvheadend_ndms-bad/src/epggrab/otamux.c 2018-01-21 23:59:49.810391495 +0300
526 526
      if (net->failed) {
527 527
        TAILQ_INSERT_TAIL(&epggrab_ota_pending, om, om_q_link);
528 528
        om->om_q_type = EPGGRAB_OTA_MUX_PENDING;
529
        om->om_retry_time = mclk() + mono2sec(60);
529 530
        goto done;
530 531
      }
531 532
      break;
532 533
    }
533 534
  }
534 535
  if (i >= networks_count) {
536
    if (i >= ARRAY_SIZE(networks)) {
537
      tvherror(LS_EPGGRAB, "ota epg - too many networks");
538
      goto done;
539
    }
535 540
    net = &networks[networks_count++];
536 541
    net->net = mm->mm_network;
537 542
    net->failed = 0;
(4-4/4)