Commit 24261d9d authored by Youness Alaoui's avatar Youness Alaoui
Browse files

correctly find the component when checking for which component to fail

parent e416912e
......@@ -819,7 +819,7 @@ static void priv_update_check_list_failed_components (NiceAgent *agent, Stream *
/* note: iterate the conncheck list for each component separately */
for (c = 0; c < components; c++) {
Component *comp = NULL;
agent_find_component (agent, stream->id, c, NULL, &comp);
agent_find_component (agent, stream->id, c+1, NULL, &comp);
for (i = stream->conncheck_list; i; i = i->next) {
CandidateCheckPair *p = i->data;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment