projects
/
platform
/
upstream
/
libnice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
083ac5a
)
Assign source out of the for loop
author
alex
<alex@meetecho.com>
Wed, 5 Jun 2019 09:45:17 +0000
(11:45 +0200)
committer
alex
<alex@meetecho.com>
Wed, 5 Jun 2019 09:45:17 +0000
(11:45 +0200)
socket/udp-turn.c
patch
|
blob
|
history
diff --git
a/socket/udp-turn.c
b/socket/udp-turn.c
index
ddf4aa8
..
ce6a8fd
100644
(file)
--- a/
socket/udp-turn.c
+++ b/
socket/udp-turn.c
@@
-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;