Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Olivier Crête
libnice
Commits
1ff29177
Commit
1ff29177
authored
Jun 05, 2019
by
alex
Browse files
Assign source out of the for loop
parent
083ac5a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
socket/udp-turn.c
View file @
1ff29177
...
...
@@ -1195,11 +1195,12 @@ priv_binding_timeout (gpointer data)
}
nice_debug
(
"Permission is about to timeout, sending binding renewal"
);
source
=
g_main_current_source
();
/* find current binding and mark it for renewal */
for
(
i
=
priv
->
channels
;
i
;
i
=
i
->
next
)
{
ChannelBinding
*
b
=
i
->
data
;
source
=
g_main_current_source
();
if
(
b
->
timeout_source
==
source
)
{
b
->
renew
=
TRUE
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment