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
db05e8b0
Commit
db05e8b0
authored
Apr 04, 2017
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make clang-analyzer happy
Various little things, none of which should make a functional difference.
parent
0672758b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
agent/agent.c
agent/agent.c
+0
-1
agent/conncheck.c
agent/conncheck.c
+1
-1
socket/udp-turn.c
socket/udp-turn.c
+2
-3
stun/usages/bind.c
stun/usages/bind.c
+3
-1
No files found.
agent/agent.c
View file @
db05e8b0
...
...
@@ -1552,7 +1552,6 @@ pseudo_tcp_socket_recv_messages (PseudoTcpSocket *self,
if
(
len
==
0
)
{
/* Reached EOS. */
len
=
0
;
goto
done
;
}
else
if
(
len
<
0
&&
pseudo_tcp_socket_get_error
(
self
)
==
EWOULDBLOCK
)
{
...
...
agent/conncheck.c
View file @
db05e8b0
...
...
@@ -606,7 +606,7 @@ static gboolean priv_conn_check_tick_unlocked (NiceAgent *agent)
/* step: when there's no pair in the Waiting state,
* unfreeze a new pair and check it
*/
res
=
priv_conn_check_unfreeze_next
(
agent
);
priv_conn_check_unfreeze_next
(
agent
);
for
(
i
=
agent
->
streams
;
i
;
i
=
i
->
next
)
{
NiceStream
*
stream
=
i
->
data
;
...
...
socket/udp-turn.c
View file @
db05e8b0
...
...
@@ -406,9 +406,8 @@ socket_recv_messages (NiceSocket *sock,
/* Split up the monolithic buffer again into the caller-provided buffers. */
if
(
parsed_buffer_length
>
0
&&
allocated_buffer
)
{
parsed_buffer_length
=
memcpy_buffer_to_input_message
(
message
,
buffer
,
parsed_buffer_length
);
memcpy_buffer_to_input_message
(
message
,
buffer
,
parsed_buffer_length
);
}
if
(
allocated_buffer
)
...
...
stun/usages/bind.c
View file @
db05e8b0
...
...
@@ -479,7 +479,7 @@ StunUsageBindReturn stun_usage_bind_run (const struct sockaddr *srv,
size_t
len
;
StunUsageTransReturn
ret
;
int
val
;
struct
sockaddr_storage
alternate_server
;
struct
sockaddr_storage
alternate_server
=
{
AF_UNSPEC
}
;
socklen_t
alternate_server_len
=
sizeof
(
alternate_server
);
StunUsageBindReturn
bind_ret
;
...
...
@@ -548,6 +548,8 @@ StunUsageBindReturn stun_usage_bind_run (const struct sockaddr *srv,
if
(
bind_ret
==
STUN_USAGE_BIND_RETURN_ALTERNATE_SERVER
)
{
stun_trans_deinit
(
&
trans
);
assert
(
alternate_server
.
ss_family
!=
AF_UNSPEC
);
ret
=
stun_trans_create
(
&
trans
,
SOCK_DGRAM
,
0
,
(
struct
sockaddr
*
)
&
alternate_server
,
alternate_server_len
);
...
...
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