Commit 7f44d04c authored by Niels Möller's avatar Niels Möller
Browse files

*** empty log message ***

Rev: src/io.c:1.32
parent 09508d78
......@@ -227,7 +227,10 @@ static int do_read(struct abstract_read **r, UINT32 length, UINT8 *buffer)
int res = read(closure->fd, buffer, length);
if (!res)
debug("Read EOF on fd %d.\n", closure->fd);
return A_EOF;
if (res > 0)
return res;
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