Skip to content

Commit

Permalink
Fixed as per [#6032](nodejs/node-v0.x-archive#6032)
Browse files Browse the repository at this point in the history
  • Loading branch information
oorabona committed Dec 22, 2014
1 parent 5d95727 commit 684ec73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XzStream.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class XzStream extends Transform
@_offset = 0
@_buffer = new Buffer @_chunkSize

if availOutAfter is 0
if availOutAfter is 0 or availInAfter > 0
inOff += (availInBefore - availInAfter)
availInBefore = availInAfter

Expand Down

0 comments on commit 684ec73

Please sign in to comment.