Commit 42e8f64a authored by Olivier Crête's avatar Olivier Crête

outputstream: If tcp, only check for space in the PseudoTCP queue

parent 9c5f3010
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment