Skip to content
Snippets Groups Projects
Commit d0cdd047 authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

Merge pull request #6452 from stanley-cheung/node-math-server-minor-bug

Node: fix math server minor bug
parents de88da9c c3eb6498
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@ function mathDiv(call, cb) {
function mathFib(stream) {
// Here, call is a standard writable Node object Stream
var previous = 0, current = 1;
for (var i = 0; i < stream.request.limit; i++) {
for (var i = 0; i < stream.request.getLimit(); i++) {
var response = new math.Num();
response.setNum(current);
stream.write(response);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment