summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabrice Bellet <fabrice@bellet.info>2019-08-02 13:19:26 +0000
committerOlivier CrĂȘte <olivier.crete@ocrete.ca>2019-08-02 13:19:26 +0000
commit5e5e9ad5bcfdd8db6a5507c90a9c8656ce6535fc (patch)
treed42643af0105fff9abeb51eab0c61ba7e4c09753
parent02556082c1c0f15941f78086c590e300842c456a (diff)
downloadlibnice-5e5e9ad5bcfdd8db6a5507c90a9c8656ce6535fc.tar.gz
conncheck: fix a wrong transport value in debug
-rw-r--r--agent/conncheck.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/agent/conncheck.c b/agent/conncheck.c
index 36774aa..a2e370d 100644
--- a/agent/conncheck.c
+++ b/agent/conncheck.c
@@ -1217,8 +1217,10 @@ priv_conn_check_tick_stream_nominate (NiceStream *stream, NiceAgent *agent)
nice_debug ("Agent %p : restarting check of %s:%s pair %p with "
"USE-CANDIDATE attrib (regular nomination) for "
"stream %d component %d", agent,
- priv_candidate_transport_to_string (lcand1->transport),
- priv_candidate_transport_to_string (rcand1->transport),
+ priv_candidate_transport_to_string (
+ this_component_pair->local->transport),
+ priv_candidate_transport_to_string (
+ this_component_pair->remote->transport),
this_component_pair, stream->id, component->id);
this_component_pair->use_candidate_on_next_check = TRUE;
priv_add_pair_to_triggered_check_queue (agent, this_component_pair);