diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-10-10 22:05:49 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-10-10 22:10:47 -0700 |
commit | 81ac0d5088c1741632424d28bfda0cef467fa970 (patch) | |
tree | 96d95a79e6ecd3160ac7d051fcf883c3c6eadd84 /lib/stream.js | |
parent | cdd1d675a7bba5693c63656bec5a32166a8279d6 (diff) | |
download | node-new-81ac0d5088c1741632424d28bfda0cef467fa970.tar.gz |
pipe-test fixes
Diffstat (limited to 'lib/stream.js')
-rw-r--r-- | lib/stream.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stream.js b/lib/stream.js index 47a355b76f..189708a93f 100644 --- a/lib/stream.js +++ b/lib/stream.js @@ -23,7 +23,7 @@ Stream.prototype.pipe = function (dest, options) { * source gets the 'end' event. */ - if (!options || options.end === false) { + if (!options || options.end !== false) { source.on("end", function () { dest.end(); }); |