[Pkg-telepathy-commits] [libnice] 211/265: agent: Don't return the socket to the app in any reliable case
Simon McVittie
smcv at debian.org
Wed May 14 12:05:09 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 3a66b67876fa50dec0b5eddf659f3ceb59a6e0f2
Author: Olivier Crête <olivier.crete at collabora.com>
Date: Tue Apr 8 23:10:34 2014 -0400
agent: Don't return the socket to the app in any reliable case
---
agent/agent.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/agent/agent.c b/agent/agent.c
index b0f5755..afebec9 100644
--- a/agent/agent.c
+++ b/agent/agent.c
@@ -4097,6 +4097,10 @@ nice_agent_get_selected_socket (NiceAgent *agent, guint stream_id,
agent_lock();
+ /* Reliable streams are pseudotcp or MUST use RFC 4571 framing */
+ if (agent->reliable)
+ goto done;
+
/* step: check that params specify an existing pair */
if (!agent_find_component (agent, stream_id, component_id,
&stream, &component))
--
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