diff options
author | Chris Wilson <chris+github@qwirx.com> | 2012-04-28 18:21:55 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2012-04-28 18:21:55 +0000 |
commit | 31bf350477760f651ec696ee9f09c881b72ca00f (patch) | |
tree | e5dba6153c0e3710c6745f60cb1ebc2fedeb164d | |
parent | cf63f319a93ce8fec1e2a6cc10a83916926f826e (diff) |
Fix bug that caused sending a ZeroStream to end early, breaking protocol.
-rw-r--r-- | lib/common/ZeroStream.cpp | 2 |
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); } // -------------------------------------------------------------------------- |