Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
globalheaders: remove abort() - use tvherror() - but it's not a fix!
  • Loading branch information
perexg committed Mar 7, 2016
1 parent 3b6a5ac commit 11dc077
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/plumbing/globalheaders.c
Expand Up @@ -282,7 +282,10 @@ gh_hold(globalheaders_t *gh, streaming_message_t *sm)
pkt = sm->sm_data;
ssc = streaming_start_component_find_by_index(gh->gh_ss,
pkt->pkt_componentindex);
assert(ssc != NULL);
if (ssc == NULL) {
tvherror("globalheaders", "Unable to find component %d", pkt->pkt_componentindex);
return;
}

pkt_ref_inc(pkt);

Expand Down

0 comments on commit 11dc077

Please sign in to comment.