aboutsummaryrefslogtreecommitdiff
path: root/lib/_stream_transform.js
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-10-05 07:45:03 -0700
committerisaacs <i@izs.me>2012-12-13 17:00:25 -0800
commit06e321d0f9692af1b6c6909cdfc49fd1b197129c (patch)
tree01fc4d803338993b721a2ad0b6edad8f80f7a70c /lib/_stream_transform.js
parent02f017d24f8cd93939bb4bd178b878d15cc5a08c (diff)
downloadandroid-node-v8-06e321d0f9692af1b6c6909cdfc49fd1b197129c.tar.gz
android-node-v8-06e321d0f9692af1b6c6909cdfc49fd1b197129c.tar.bz2
android-node-v8-06e321d0f9692af1b6c6909cdfc49fd1b197129c.zip
streams2: Correct drain/return logic
It was testing the length *before* adding the current chunk, which is the opposite of correct. Also, the return value was flipped.
Diffstat (limited to 'lib/_stream_transform.js')
0 files changed, 0 insertions, 0 deletions