Skip to content

Commit

Permalink
Merge pull request grpc#6452 from stanley-cheung/node-math-server-min…
Browse files Browse the repository at this point in the history
…or-bug

Node: fix math server minor bug
  • Loading branch information
jtattermusch committed May 9, 2016
2 parents de88da9 + c3eb649 commit d0cdd04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/test/math/math_server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d0cdd04

Please sign in to comment.