diff options
Diffstat (limited to 'lib/yahns/tee_input.rb')
-rw-r--r-- | lib/yahns/tee_input.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/yahns/tee_input.rb b/lib/yahns/tee_input.rb index 55b1604..93ec148 100644 --- a/lib/yahns/tee_input.rb +++ b/lib/yahns/tee_input.rb @@ -100,6 +100,7 @@ class Yahns::TeeInput < Yahns::StreamInput # :nodoc: junk = ''.dup rsize = __rsize nil while read(rsize, junk) + junk.clear end def tee(buffer) |