diff options
author | gluxon <bcheng.gt@gmail.com> | 2014-01-01 16:26:14 -0500 |
---|---|---|
committer | Timothy J Fontaine <tjfontaine@gmail.com> | 2014-01-10 08:42:34 -0800 |
commit | 56913d2cde43ba970a305e919472bee6cdea0356 (patch) | |
tree | 862410e7e735608bd3ae4cb74b3239bfe6876516 | |
parent | 270c2deb84b04b508c9d90f58684ee5bf7b3dbca (diff) | |
download | node-56913d2cde43ba970a305e919472bee6cdea0356.tar.gz |
doc: Fix argument typo in SimpleProtocol example
-rw-r--r-- | doc/api/stream.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/stream.markdown b/doc/api/stream.markdown index 7b5226396..5826c71af 100644 --- a/doc/api/stream.markdown +++ b/doc/api/stream.markdown @@ -751,7 +751,7 @@ util.inherits(SimpleProtocol, Readable); function SimpleProtocol(source, options) { if (!(this instanceof SimpleProtocol)) - return new SimpleProtocol(options); + return new SimpleProtocol(source, options); Readable.call(this, options); this._inBody = false; |