summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNicolas 'Pixel' Noble <pixel@nobis-crew.org>2013-01-21 20:27:20 -0800
committerNicolas 'Pixel' Noble <pixel@nobis-crew.org>2013-01-21 20:27:20 -0800
commit0e2433d788499f8489208492016fd2da3867d70b (patch)
treee98d02dc6b91ef52ccb0f9f8cfcd7e2a200a3b52 /src
parent1ecceefd88401241b05a62441c905251d57e3a43 (diff)
Forgot these new cases in the ZStream::isPendingComplete() method.
Diffstat (limited to 'src')
-rw-r--r--src/ZHandle.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ZHandle.cc b/src/ZHandle.cc
index 05a6405..90394c1 100644
--- a/src/ZHandle.cc
+++ b/src/ZHandle.cc
@@ -103,9 +103,12 @@ bool Balau::ZStream::isPendingComplete() {
switch (m_phase) {
case READING:
case WRITING:
+ case WRITING_FINISH:
return m_h->isPendingComplete();
case COMPRESSING:
case DECOMPRESSING:
+ case COMPRESSING_FINISH:
+ case DECOMPRESSING_FINISH:
IAssert(async, "Shouldn't not have a cbResults here...");
return async->gotSignal();
default: