From 56913d2cde43ba970a305e919472bee6cdea0356 Mon Sep 17 00:00:00 2001 From: gluxon Date: Wed, 1 Jan 2014 16:26:14 -0500 Subject: [PATCH] doc: Fix argument typo in SimpleProtocol example --- doc/api/stream.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/stream.markdown b/doc/api/stream.markdown index 7b52263960..5826c71afd 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;