Commit acbd8f09 authored by Youness Alaoui's avatar Youness Alaoui
Browse files

Do not check for upnp_mapping if UPnP is disabled at compile time

parent c80eee03
......@@ -1874,7 +1874,11 @@ nice_agent_gather_candidates (
/* note: no async discoveries pending, signal that we are ready */
if (agent->discovery_unsched_items == 0 &&
g_slist_length (agent->upnp_mapping) == 0) {
nice_debug ("Agent %p: Candidate gathering FINISHED, no scheduled items.",
agent_gathering_done (agent);
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