summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYouness Alaoui <kakaroto@kakaroto.(none)>2008-09-19 21:17:29 -0400
committerYouness Alaoui <kakaroto@kakaroto.(none)>2008-09-19 21:17:29 -0400
commita677cb0d416da0a3674308532ec9d421a80bb6df (patch)
treee39d78a8de48ae5ec50af0aed5ce883e7eafed19
parente9dfccb087bcc40408955f7bf10af106cffa8f9e (diff)
downloadlibnice-a677cb0d416da0a3674308532ec9d421a80bb6df.tar.gz
remove useless debug
-rw-r--r--udp/udp-turn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udp/udp-turn.c b/udp/udp-turn.c
index 840ee30..f899c03 100644
--- a/udp/udp-turn.c
+++ b/udp/udp-turn.c
@@ -124,7 +124,6 @@ priv_send_channel_bind (turn_priv *priv, StunMessage *resp,
stun_len = stun_agent_finish_message (&priv->agent, &msg,
priv->password, priv->password_len);
- g_debug ("Sending %d bytes of CHANNEL-BIND", stun_len);
if (stun_len > 0) {
nice_udp_socket_send (priv->udp_socket, &priv->server_addr,
stun_len, (gchar *)buffer);
@@ -277,6 +276,7 @@ nice_udp_turn_socket_parse_recv (
stun_message_get_method (&msg) == STUN_IND_DATA) {
uint16_t data_len;
uint8_t *data;
+
if (priv->compatibility == NICE_UDP_TURN_SOCKET_COMPATIBILITY_DRAFT9) {
if (stun_message_find_xor_addr (&msg, STUN_ATTRIBUTE_REMOTE_ADDRESS,
(struct sockaddr *)&sa, &from_len) != 0)