Commit 1ff29177 authored by alex's avatar alex
Browse files

Assign source out of the for loop

parent 083ac5a9
......@@ -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;
......
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