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
edcbc597
Commit
edcbc597
authored
Apr 24, 2014
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conncheck: Remove useless return value on conn_check_prune_stream
parent
891ce53e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
agent/conncheck.c
agent/conncheck.c
+1
-7
agent/conncheck.h
agent/conncheck.h
+1
-1
No files found.
agent/conncheck.c
View file @
edcbc597
...
...
@@ -1443,7 +1443,7 @@ void conn_check_free (NiceAgent *agent)
*
* @return TRUE on success, FALSE on a fatal error
*/
gboolean
conn_check_prune_stream
(
NiceAgent
*
agent
,
Stream
*
stream
)
void
conn_check_prune_stream
(
NiceAgent
*
agent
,
Stream
*
stream
)
{
CandidateCheckPair
*
pair
;
GSList
*
i
;
...
...
@@ -1464,12 +1464,6 @@ gboolean conn_check_prune_stream (NiceAgent *agent, Stream *stream)
if
(
!
stream
->
conncheck_list
)
conn_check_free
(
agent
);
/* return FALSE if there was a memory allocation failure */
if
(
stream
->
conncheck_list
==
NULL
&&
i
!=
NULL
)
return
FALSE
;
return
TRUE
;
}
/*
...
...
agent/conncheck.h
View file @
edcbc597
...
...
@@ -87,7 +87,7 @@ void conn_check_free_item (gpointer data, gpointer user_data);
void
conn_check_free
(
NiceAgent
*
agent
);
gboolean
conn_check_schedule_next
(
NiceAgent
*
agent
);
int
conn_check_send
(
NiceAgent
*
agent
,
CandidateCheckPair
*
pair
);
gboolean
conn_check_prune_stream
(
NiceAgent
*
agent
,
Stream
*
stream
);
void
conn_check_prune_stream
(
NiceAgent
*
agent
,
Stream
*
stream
);
gboolean
conn_check_handle_inbound_stun
(
NiceAgent
*
agent
,
Stream
*
stream
,
Component
*
component
,
NiceSocket
*
udp_socket
,
const
NiceAddress
*
from
,
gchar
*
buf
,
guint
len
);
gint
conn_check_compare
(
const
CandidateCheckPair
*
a
,
const
CandidateCheckPair
*
b
);
void
conn_check_remote_candidates_set
(
NiceAgent
*
agent
);
...
...
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