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

*** 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) ...@@ -227,7 +227,10 @@ static int do_read(struct abstract_read **r, UINT32 length, UINT8 *buffer)
{ {
int res = read(closure->fd, buffer, length); int res = read(closure->fd, buffer, length);
if (!res) if (!res)
return A_EOF; {
debug("Read EOF on fd %d.\n", closure->fd);
return A_EOF;
}
if (res > 0) if (res > 0)
return res; 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