diff --git a/src/stream_interface.c b/src/stream_interface.c index 1f8295952..cf3f9d2ef 100644 --- a/src/stream_interface.c +++ b/src/stream_interface.c @@ -625,7 +625,7 @@ int si_cs_send(struct conn_stream *cs) } if (conn->flags & CO_FL_ERROR || cs->flags & CS_FL_ERROR) - return 0; + return 1; } /* At this point, the pipe is empty, but we may still have data pending