cwc: Add missing loop break in the section resolved check
This commit is contained in:
parent
8b1ce062aa
commit
3ac7a43c0d
1 changed files with 4 additions and 1 deletions
|
@ -795,11 +795,14 @@ forbid:
|
|||
return;
|
||||
|
||||
es->es_keystate = ES_FORBIDDEN;
|
||||
LIST_FOREACH(ep, &ct->cs_pids, ep_link)
|
||||
LIST_FOREACH(ep, &ct->cs_pids, ep_link) {
|
||||
LIST_FOREACH(es2, &ep->ep_sections, es_link)
|
||||
if (es2->es_keystate == ES_UNKNOWN ||
|
||||
es2->es_keystate == ES_RESOLVED)
|
||||
break;
|
||||
if (es2)
|
||||
break;
|
||||
}
|
||||
|
||||
if (ep == NULL) { /* !UNKNOWN && !RESOLVED */
|
||||
tvhlog(LOG_ERR, "cwc",
|
||||
|
|
Loading…
Add table
Reference in a new issue