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;