From 685cf0b42a733ac3ae4dc38c36c5e842cea3f888 Mon Sep 17 00:00:00 2001 From: Olivier CrĂȘte Date: Mon, 22 Sep 2014 13:04:26 -0400 Subject: agent: Clear GSource timeout also for GUPnP timeout Fix regressions introduced by the following patch: Clear existing GSource timeouts before adding new ones --- agent/agent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'agent') 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) { -- cgit v1.2.3