Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
libnice
libnice
Commits
67130554
Commit
67130554
authored
Sep 29, 2010
by
Youness Alaoui
Browse files
Remove possibly unused variables if NDEBUG is set
parent
f159c3aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
agent/agent.c
View file @
67130554
...
...
@@ -1057,9 +1057,7 @@ pseudo_tcp_socket_write_packet (PseudoTcpSocket *sock,
const
gchar
*
buffer
,
guint32
len
,
gpointer
user_data
)
{
TcpUserData
*
data
=
(
TcpUserData
*
)
user_data
;
NiceAgent
*
agent
=
data
->
agent
;
Component
*
component
=
data
->
component
;
Stream
*
stream
=
data
->
stream
;
if
(
component
->
selected_pair
.
local
!=
NULL
)
{
NiceSocket
*
sock
;
...
...
@@ -1069,8 +1067,8 @@ pseudo_tcp_socket_write_packet (PseudoTcpSocket *sock,
gchar
tmpbuf
[
INET6_ADDRSTRLEN
];
nice_address_to_string
(
&
component
->
selected_pair
.
remote
->
addr
,
tmpbuf
);
nice_debug
(
"Agent %p : s%d:%d: sending %d bytes to [%s]:%d"
,
agent
,
stream
->
id
,
component
->
id
,
len
,
tmpbuf
,
nice_debug
(
"Agent %p : s%d:%d: sending %d bytes to [%s]:%d"
,
data
->
agent
,
data
->
stream
->
id
,
component
->
id
,
len
,
tmpbuf
,
nice_address_get_port
(
&
component
->
selected_pair
.
remote
->
addr
));
#endif
...
...
Write
Preview
Supports
Markdown
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