Commit 1c94dece authored by Marcus Lundblad's avatar Marcus Lundblad Committed by Youness Alaoui

Removed some debug messages that might be a little unnessesary

parent 69793e04
...@@ -357,8 +357,6 @@ socket_send (NiceSocket *sock, const NiceAddress *to, ...@@ -357,8 +357,6 @@ socket_send (NiceSocket *sock, const NiceAddress *to,
} }
} }
nice_debug ("in turn.c:socket_send");
nice_address_copy_to_sockaddr (to, (struct sockaddr *)&sa); nice_address_copy_to_sockaddr (to, (struct sockaddr *)&sa);
if (binding) { if (binding) {
...@@ -441,7 +439,6 @@ socket_send (NiceSocket *sock, const NiceAddress *to, ...@@ -441,7 +439,6 @@ socket_send (NiceSocket *sock, const NiceAddress *to,
} }
if (msg_len > 0) { if (msg_len > 0) {
nice_debug("before send");
if (priv->compatibility == NICE_TURN_SOCKET_COMPATIBILITY_RFC5766) { if (priv->compatibility == NICE_TURN_SOCKET_COMPATIBILITY_RFC5766) {
if (!priv->has_permission && !priv->sent_permission) { if (!priv->has_permission && !priv->sent_permission) {
nice_debug ("no permission installed for peer"); nice_debug ("no permission installed for peer");
...@@ -455,8 +452,6 @@ socket_send (NiceSocket *sock, const NiceAddress *to, ...@@ -455,8 +452,6 @@ socket_send (NiceSocket *sock, const NiceAddress *to,
priv_send_channel_bind (priv, NULL, binding->channel, to); priv_send_channel_bind (priv, NULL, binding->channel, to);
} }
nice_debug("about to send: permission %d, binding %d", priv->has_permission,
priv->has_binding);
if (priv->compatibility == NICE_TURN_SOCKET_COMPATIBILITY_RFC5766 && if (priv->compatibility == NICE_TURN_SOCKET_COMPATIBILITY_RFC5766 &&
!priv->has_permission) { !priv->has_permission) {
/* enque data */ /* enque data */
......
...@@ -642,8 +642,7 @@ size_t stun_agent_finish_message (StunAgent *agent, StunMessage *msg, ...@@ -642,8 +642,7 @@ size_t stun_agent_finish_message (StunAgent *agent, StunMessage *msg,
msg->key = (uint8_t *) key; msg->key = (uint8_t *) key;
msg->key_len = key_len; msg->key_len = key_len;
stun_debug("stun_agent_finish_message, returning lenght: %d\n",
stun_message_length(msg));
return stun_message_length (msg); return stun_message_length (msg);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment