diff options
Diffstat (limited to 'include/cipherpack/cipherpack.hpp')
-rw-r--r-- | include/cipherpack/cipherpack.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cipherpack/cipherpack.hpp b/include/cipherpack/cipherpack.hpp index b6c25ad..dccf935 100644 --- a/include/cipherpack/cipherpack.hpp +++ b/include/cipherpack/cipherpack.hpp @@ -186,7 +186,7 @@ namespace cipherpack { { return in.peek(out, length, peek_offset); } bool end_of_data() const override - { return in.end_of_data(); } + { return !in.good(); } std::string id() const override { return in.id(); } |