Commit a1091a90 authored by Youness Alaoui's avatar Youness Alaoui Committed by Olivier Crête

Fix indentation for _set_remote_candidates_locked

parent fa250acc
...@@ -2604,36 +2604,36 @@ _set_remote_candidates_locked (NiceAgent *agent, Stream *stream, ...@@ -2604,36 +2604,36 @@ _set_remote_candidates_locked (NiceAgent *agent, Stream *stream,
const GSList *i; const GSList *i;
int added = 0; int added = 0;
for (i = candidates; i && added >= 0; i = i->next) { for (i = candidates; i && added >= 0; i = i->next) {
NiceCandidate *d = (NiceCandidate*) i->data; NiceCandidate *d = (NiceCandidate*) i->data;
if (nice_address_is_valid (&d->addr) == TRUE) { if (nice_address_is_valid (&d->addr) == TRUE) {
gboolean res = gboolean res =
priv_add_remote_candidate (agent, priv_add_remote_candidate (agent,
stream->id, stream->id,
component->id, component->id,
d->type, d->type,
&d->addr, &d->addr,
&d->base_addr, &d->base_addr,
d->transport, d->transport,
d->priority, d->priority,
d->username, d->username,
d->password, d->password,
d->foundation); d->foundation);
if (res) if (res)
++added; ++added;
} }
} }
conn_check_remote_candidates_set(agent); conn_check_remote_candidates_set(agent);
if (added > 0) { if (added > 0) {
gboolean res = conn_check_schedule_next (agent); gboolean res = conn_check_schedule_next (agent);
if (res != TRUE) if (res != TRUE)
nice_debug ("Agent %p : Warning: unable to schedule any conn checks!", agent); nice_debug ("Agent %p : Warning: unable to schedule any conn checks!", agent);
} }
return added; return added;
} }
......
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