Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
libnice
Commits
0032a14f
Commit
0032a14f
authored
Apr 28, 2009
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation when gupnp-igd is not found
parent
f8469e4b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
agent/agent.c
agent/agent.c
+5
-1
No files found.
agent/agent.c
View file @
0032a14f
...
@@ -790,10 +790,14 @@ void agent_gathering_done (NiceAgent *agent)
...
@@ -790,10 +790,14 @@ void agent_gathering_done (NiceAgent *agent)
}
}
}
}
#ifdef HAVE_GUPNP
if
(
agent
->
discovery_timer_source
==
NULL
&&
if
(
agent
->
discovery_timer_source
==
NULL
&&
agent
->
upnp_timer_source
==
NULL
)
{
agent
->
upnp_timer_source
==
NULL
)
{
agent_signal_gathering_done
(
agent
);
agent_signal_gathering_done
(
agent
);
}
}
#else
agent_signal_gathering_done
(
agent
);
#endif
}
}
void
agent_signal_gathering_done
(
NiceAgent
*
agent
)
void
agent_signal_gathering_done
(
NiceAgent
*
agent
)
...
@@ -1413,9 +1417,9 @@ nice_agent_gather_candidates (
...
@@ -1413,9 +1417,9 @@ nice_agent_gather_candidates (
static
void
priv_free_upnp
(
NiceAgent
*
agent
)
static
void
priv_free_upnp
(
NiceAgent
*
agent
)
{
{
#ifdef HAVE_GUPNP
GSList
*
i
;
GSList
*
i
;
#ifdef HAVE_GUPNP
if
(
agent
->
upnp
)
{
if
(
agent
->
upnp
)
{
g_object_unref
(
agent
->
upnp
);
g_object_unref
(
agent
->
upnp
);
agent
->
upnp
=
NULL
;
agent
->
upnp
=
NULL
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment