Commit eef02ee5 authored by Olivier Crête's avatar Olivier Crête
Browse files

Make the if/else-ness clear

parent f52b8608
......@@ -631,10 +631,10 @@ void agent_signal_component_state_change (NiceAgent *agent, guint stream_id, gui
guint64
agent_candidate_pair_priority (NiceAgent *agent, NiceCandidate *local, NiceCandidate *remote)
{
if (agent->controlling_mode == TRUE)
if (agent->controlling_mode)
return nice_candidate_pair_priority (local->priority, remote->priority);
return nice_candidate_pair_priority (remote->priority, local->priority);
else
return nice_candidate_pair_priority (remote->priority, local->priority);
}
static gboolean
......
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