Skip to content
Snippets Groups Projects
Commit 263531c0 authored by Dan Egnor's avatar Dan Egnor
Browse files

Bug fix from zsteva

parent 23097463
Branches
No related tags found
No related merge requests found
...@@ -342,6 +342,7 @@ static void *on_process(oop_source *oop, oop_read *rd, int try_read) { ...@@ -342,6 +342,7 @@ static void *on_process(oop_source *oop, oop_read *rd, int try_read) {
want= MIN(dataspace, readahead); want= MIN(dataspace, readahead);
assert(rd->used < want); assert(rd->used < want);
errno= 0;
nread= rd->ra->try_read(rd->ra, buf+rd->used, want-rd->used); nread= rd->ra->try_read(rd->ra, buf+rd->used, want-rd->used);
if (errno == EAGAIN) return OOP_CONTINUE; if (errno == EAGAIN) return OOP_CONTINUE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment