[Pkg-telepathy-commits] [libnice] 35/265: turn: Send queued TURN messages to the turn server

Simon McVittie smcv at debian.org
Wed May 14 12:04:50 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository libnice.

commit 39023ed40c005abc8520972a88542f5f72b1a626
Author: Olivier Crête <olivier.crete at collabora.com>
Date:   Mon Dec 23 22:16:18 2013 -0500

    turn: Send queued TURN messages to the turn server
    
    It was trying to send queued messages to the final destination instead
    of going through the TURN server
---
 socket/turn.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/socket/turn.c b/socket/turn.c
index 9959691..4d9cb72 100644
--- a/socket/turn.c
+++ b/socket/turn.c
@@ -471,7 +471,8 @@ socket_dequeue_all_data (TurnPriv *priv, const NiceAddress *to)
           (SendData *) g_queue_pop_head(send_queue);
 
       nice_debug ("dequeuing data");
-      nice_socket_send (priv->base_socket, to, data->data_len, data->data);
+      nice_socket_send (priv->base_socket, &priv->server_addr, data->data_len,
+          data->data);
 
       g_free (data->data);
       g_slice_free (SendData, data);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/libnice.git



More information about the Pkg-telepathy-commits mailing list