summaryrefslogtreecommitdiff
path: root/agent/conncheck.c
diff options
context:
space:
mode:
Diffstat (limited to 'agent/conncheck.c')
-rw-r--r--agent/conncheck.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/agent/conncheck.c b/agent/conncheck.c
index 3993ef6..0821bdc 100644
--- a/agent/conncheck.c
+++ b/agent/conncheck.c
@@ -1732,7 +1732,7 @@ static gboolean priv_update_selected_pair (NiceAgent *agent, NiceComponent *comp
cpair.priority = pair->priority;
/* cpair.keepalive is not used by nice_component_update_selected_pair() */
- nice_component_update_selected_pair (component, &cpair);
+ nice_component_update_selected_pair (agent, component, &cpair);
priv_conn_keepalive_tick_unlocked (agent);
@@ -3041,7 +3041,7 @@ static CandidateCheckPair *priv_process_response_check_for_reflexive(NiceAgent *
SET_PAIR_STATE (agent, p, NICE_CHECK_SUCCEEDED);
priv_remove_pair_from_triggered_check_queue (agent, p);
priv_free_all_stun_transactions (p, component);
- nice_component_add_valid_candidate (component, remote_candidate);
+ nice_component_add_valid_candidate (agent, component, remote_candidate);
}
else {
if (!local_cand) {
@@ -3079,7 +3079,7 @@ static CandidateCheckPair *priv_process_response_check_for_reflexive(NiceAgent *
}
if (new_pair && new_pair->valid)
- nice_component_add_valid_candidate (component, remote_candidate);
+ nice_component_add_valid_candidate (agent, component, remote_candidate);
return new_pair;
@@ -3165,7 +3165,7 @@ static gboolean priv_map_reply_to_conn_check_request (NiceAgent *agent, NiceStre
nice_debug ("Agent %p : Mapped address not found", agent);
SET_PAIR_STATE (agent, p, NICE_CHECK_SUCCEEDED);
p->valid = TRUE;
- nice_component_add_valid_candidate (component, p->remote);
+ nice_component_add_valid_candidate (agent, component, p->remote);
} else
ok_pair = priv_process_response_check_for_reflexive (agent,
stream, component, p, sockptr, &sockaddr.addr,
@@ -4203,7 +4203,7 @@ gboolean conn_check_handle_inbound_stun (NiceAgent *agent, NiceStream *stream,
}
}
- nice_component_add_valid_candidate (component, remote_candidate);
+ nice_component_add_valid_candidate (agent, component, remote_candidate);
priv_reply_to_conn_check (agent, stream, component, local_candidate,
remote_candidate, from, nicesock, rbuf_len, &msg, use_candidate);