projects
/
platform
/
upstream
/
libnice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c5f301
)
outputstream: If tcp, only check for space in the PseudoTCP queue
author
Olivier Crête
<olivier.crete@collabora.com>
Mon, 24 Feb 2014 23:39:21 +0000
(18:39 -0500)
committer
Olivier Crête
<olivier.crete@collabora.com>
Mon, 24 Feb 2014 23:39:21 +0000
(18:39 -0500)
agent/outputstream.c
patch
|
blob
|
history
diff --git
a/agent/outputstream.c
b/agent/outputstream.c
index
c173dda
..
42e9aab
100644
(file)
--- 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;
}