diff --git a/src/lib/empthread/io.c b/src/lib/empthread/io.c index 5a50043b..ca9c3e25 100644 --- a/src/lib/empthread/io.c +++ b/src/lib/empthread/io.c @@ -232,15 +232,7 @@ io_output(struct iop *iop, int waitforoutput) return -1; } - /* If no bytes were written, something happened.. Like an EOF. */ - if (cc == 0) { - iop->flags |= IO_EOF; - return 0; - } - - /* Remove the number of written bytes from the queue. */ ioq_dequeue(iop->output, cc); - return cc; }