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
a677cb0d
Commit
a677cb0d
authored
Sep 19, 2008
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove useless debug
parent
e9dfccb0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
udp/udp-turn.c
udp/udp-turn.c
+1
-1
No files found.
udp/udp-turn.c
View file @
a677cb0d
...
@@ -124,7 +124,6 @@ priv_send_channel_bind (turn_priv *priv, StunMessage *resp,
...
@@ -124,7 +124,6 @@ priv_send_channel_bind (turn_priv *priv, StunMessage *resp,
stun_len
=
stun_agent_finish_message
(
&
priv
->
agent
,
&
msg
,
stun_len
=
stun_agent_finish_message
(
&
priv
->
agent
,
&
msg
,
priv
->
password
,
priv
->
password_len
);
priv
->
password
,
priv
->
password_len
);
g_debug
(
"Sending %d bytes of CHANNEL-BIND"
,
stun_len
);
if
(
stun_len
>
0
)
{
if
(
stun_len
>
0
)
{
nice_udp_socket_send
(
priv
->
udp_socket
,
&
priv
->
server_addr
,
nice_udp_socket_send
(
priv
->
udp_socket
,
&
priv
->
server_addr
,
stun_len
,
(
gchar
*
)
buffer
);
stun_len
,
(
gchar
*
)
buffer
);
...
@@ -277,6 +276,7 @@ nice_udp_turn_socket_parse_recv (
...
@@ -277,6 +276,7 @@ nice_udp_turn_socket_parse_recv (
stun_message_get_method
(
&
msg
)
==
STUN_IND_DATA
)
{
stun_message_get_method
(
&
msg
)
==
STUN_IND_DATA
)
{
uint16_t
data_len
;
uint16_t
data_len
;
uint8_t
*
data
;
uint8_t
*
data
;
if
(
priv
->
compatibility
==
NICE_UDP_TURN_SOCKET_COMPATIBILITY_DRAFT9
)
{
if
(
priv
->
compatibility
==
NICE_UDP_TURN_SOCKET_COMPATIBILITY_DRAFT9
)
{
if
(
stun_message_find_xor_addr
(
&
msg
,
STUN_ATTRIBUTE_REMOTE_ADDRESS
,
if
(
stun_message_find_xor_addr
(
&
msg
,
STUN_ATTRIBUTE_REMOTE_ADDRESS
,
(
struct
sockaddr
*
)
&
sa
,
&
from_len
)
!=
0
)
(
struct
sockaddr
*
)
&
sa
,
&
from_len
)
!=
0
)
...
...
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