[Pkg-telepathy-commits] [libnice] 240/265: discovery: Store NiceCandidate in CandidateRefresh

Simon McVittie smcv at debian.org
Wed May 14 12:05:12 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 25effd7e11f55bfabb69f570348e4df8d4e3203f
Author: Olivier Crête <olivier.crete at collabora.com>
Date:   Tue Apr 22 16:02:32 2014 -0400

    discovery: Store NiceCandidate in CandidateRefresh
---
 agent/conncheck.c | 1 +
 agent/discovery.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/agent/conncheck.c b/agent/conncheck.c
index 970ecab..8d84a53 100644
--- a/agent/conncheck.c
+++ b/agent/conncheck.c
@@ -2331,6 +2331,7 @@ priv_add_new_turn_refresh (CandidateDiscovery *cdisco, NiceCandidate *relay_cand
   cand = g_slice_new0 (CandidateRefresh);
   agent->refresh_list = g_slist_append (agent->refresh_list, cand);
 
+  cand->candidate = relay_cand;
   cand->nicesock = cdisco->nicesock;
   cand->relay_socket = relay_cand->sockptr;
   cand->server = cdisco->server;
diff --git a/agent/discovery.h b/agent/discovery.h
index 209fa95..5f228ff 100644
--- a/agent/discovery.h
+++ b/agent/discovery.h
@@ -72,6 +72,7 @@ typedef struct
   NiceSocket *nicesock;     /**< existing socket to use */
   NiceSocket *relay_socket; /**< relay socket from which we receive */
   NiceAddress server;       /**< STUN/TURN server address */
+  NiceCandidate *candidate; /**< candidate to refresh */
   Stream *stream;
   Component *component;
   TurnServer *turn;

-- 
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