summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2012-04-28 18:21:55 +0000
committerChris Wilson <chris+github@qwirx.com>2012-04-28 18:21:55 +0000
commit31bf350477760f651ec696ee9f09c881b72ca00f (patch)
treee5dba6153c0e3710c6745f60cb1ebc2fedeb164d /lib
parentcf63f319a93ce8fec1e2a6cc10a83916926f826e (diff)
Fix bug that caused sending a ZeroStream to end early, breaking protocol.
Diffstat (limited to 'lib')
-rw-r--r--lib/common/ZeroStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common/ZeroStream.cpp b/lib/common/ZeroStream.cpp
index 9d87d76a..d11ed80c 100644
--- a/lib/common/ZeroStream.cpp
+++ b/lib/common/ZeroStream.cpp
@@ -152,7 +152,7 @@ void ZeroStream::Close()
// --------------------------------------------------------------------------
bool ZeroStream::StreamDataLeft()
{
- return false;
+ return (BytesLeftToRead() > 0);
}
// --------------------------------------------------------------------------