diff options
author | Josh Blum | 2012-11-02 01:24:50 -0700 |
---|---|---|
committer | Josh Blum | 2012-11-02 01:24:50 -0700 |
commit | 22ea214ab3b0f397bf57f3a14c58e555028284bc (patch) | |
tree | 7ecc6a03b8f6cb27a94a27c29d90d9be245ee35f /lib | |
parent | b22c63e756d50723188fdd25983868ea1f67bd05 (diff) | |
download | sandhi-22ea214ab3b0f397bf57f3a14c58e555028284bc.tar.gz sandhi-22ea214ab3b0f397bf57f3a14c58e555028284bc.tar.bz2 sandhi-22ea214ab3b0f397bf57f3a14c58e555028284bc.zip |
mostly python tweaks, mostly happy QA
Diffstat (limited to 'lib')
-rw-r--r-- | lib/block_task.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/block_task.cpp b/lib/block_task.cpp index 01a9072..c763476 100644 --- a/lib/block_task.cpp +++ b/lib/block_task.cpp @@ -170,7 +170,13 @@ void BlockActor::handle_task(void) this->task_work(); } - if (work_ret == Block::WORK_DONE) + if (work_ret >= 0) + { + this->input_fail(work_ret); + return; + } + + if (work_ret == -1) { this->mark_done(); return; |