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
be2706da
Commit
be2706da
authored
May 20, 2010
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
discovery: Remove useless checks from priv_add_local_candidate_pruned
parent
920e299a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
agent/discovery.c
agent/discovery.c
+4
-7
No files found.
agent/discovery.c
View file @
be2706da
...
@@ -252,7 +252,7 @@ void refresh_cancel (CandidateRefresh *refresh)
...
@@ -252,7 +252,7 @@ void refresh_cancel (CandidateRefresh *refresh)
*/
*/
static
gboolean
priv_add_local_candidate_pruned
(
Component
*
component
,
NiceCandidate
*
candidate
)
static
gboolean
priv_add_local_candidate_pruned
(
Component
*
component
,
NiceCandidate
*
candidate
)
{
{
GSList
*
modified_list
,
*
i
;
GSList
*
i
;
for
(
i
=
component
->
local_candidates
;
i
;
i
=
i
->
next
)
{
for
(
i
=
component
->
local_candidates
;
i
;
i
=
i
->
next
)
{
NiceCandidate
*
c
=
i
->
data
;
NiceCandidate
*
c
=
i
->
data
;
...
@@ -264,11 +264,8 @@ static gboolean priv_add_local_candidate_pruned (Component *component, NiceCandi
...
@@ -264,11 +264,8 @@ static gboolean priv_add_local_candidate_pruned (Component *component, NiceCandi
}
}
}
}
modified_list
=
g_slist_append
(
component
->
local_candidates
,
component
->
local_candidates
=
g_slist_append
(
component
->
local_candidates
,
candidate
);
candidate
);
if
(
modified_list
)
{
component
->
local_candidates
=
modified_list
;
}
return
TRUE
;
return
TRUE
;
}
}
...
...
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