Commit 6ccbe753 authored by Shigeki Ohtsu's avatar Shigeki Ohtsu Committed by Fedor Indutny
Browse files

js_stream: fix buffer index in DoWrite

The index of buffer to write in JSStream was always 0 by mistake. This
fix was to use increment index of buffer arrays.
The test was originally made by Brian White in #1594.

Fix: https://github.com/iojs/io.js/issues/1595
Fix: https://github.com/iojs/io.js/pull/1594
PR-URL: https://github.com/iojs/io.js/pull/1635


Reviewed-By: default avatarFedor Indutny <fedor@indutny.com>
parent b712af79
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment