diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-09-22 13:04:26 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-09-22 13:05:15 -0400 |
commit | 685cf0b42a733ac3ae4dc38c36c5e842cea3f888 (patch) | |
tree | 4732f8229c870e59d15d781de4b71c58e8e323a1 /agent | |
parent | b98b98ad7c3af53ad7f0939e5c9031a92ad38ddd (diff) |
agent: Clear GSource timeout also for GUPnP timeout
Fix regressions introduced by the following patch:
Clear existing GSource timeouts before adding new ones
Diffstat (limited to 'agent')
-rw-r--r-- | agent/agent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/agent.c b/agent/agent.c index 4af574e..3c95e97 100644 --- a/agent/agent.c +++ b/agent/agent.c @@ -2618,7 +2618,7 @@ nice_agent_gather_candidates ( if (agent->upnp_enabled) { agent->upnp = gupnp_simple_igd_thread_new (); - agent->upnp_timer_source = agent_timeout_add_with_context (agent, + agent_timeout_add_with_context (agent, &agent->upnp_timer_source, "UPnP timeout", agent->upnp_timeout, priv_upnp_timeout_cb, agent); if (agent->upnp) { |