diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Input.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Input.cc b/src/Input.cc index ebcffb3..fafa649 100644 --- a/src/Input.cc +++ b/src/Input.cc @@ -249,7 +249,7 @@ ssize_t Balau::Input::read(void * buf, size_t count) throw (GeneralException) { Task::operationYield(&cbResults->evt, Task::INTERRUPTIBLE); case cbResults_t::READ: result = cbResults->result; - if (result > 0) { + if (result >= 0) { rseek(result, SEEK_CUR); } else { char str[4096]; |