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

Node: fix math server minor bug
pull/6524/head
Jan Tattermusch 9 years ago
commit d0cdd047b6
  1. 2
      src/node/test/math/math_server.js

@ -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);

Loading…
Cancel
Save