[Pkg-telepathy-commits] [libnice] 148/265: outputstream: If tcp, only check for space in the PseudoTCP queue

Simon McVittie smcv at debian.org
Wed May 14 12:05:02 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 42e8f64af6fd5334d9ae054c28748faf6de07c0b
Author: Olivier Crête <olivier.crete at collabora.com>
Date:   Mon Feb 24 18:39:21 2014 -0500

    outputstream: If tcp, only check for space in the PseudoTCP queue
---
 agent/outputstream.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/agent/outputstream.c b/agent/outputstream.c
index c173dda..42e9aab 100644
--- a/agent/outputstream.c
+++ b/agent/outputstream.c
@@ -472,8 +472,8 @@ nice_output_stream_is_writable (GPollableOutputStream *stream)
 
   /* If it’s a reliable agent, see if there’s any space in the pseudo-TCP output
    * buffer. */
-  if (component->tcp != NULL && pseudo_tcp_socket_can_send (component->tcp)) {
-    retval = TRUE;
+  if (component->tcp != NULL) {
+    retval = pseudo_tcp_socket_can_send (component->tcp);
     goto done;
   }
 

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