diff options
author | isaacs <i@izs.me> | 2012-10-05 07:45:03 -0700 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-12-13 17:00:25 -0800 |
commit | 06e321d0f9692af1b6c6909cdfc49fd1b197129c (patch) | |
tree | 01fc4d803338993b721a2ad0b6edad8f80f7a70c /lib/_stream_transform.js | |
parent | 02f017d24f8cd93939bb4bd178b878d15cc5a08c (diff) | |
download | android-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