Skip to content

Commit

Permalink
fixed jslintbug test/simple/test-regress-GH-877.js
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasMadsen committed Dec 11, 2011
1 parent a893f91 commit d2aec6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/simple/test-regress-GH-877.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ server.listen(common.PORT, '127.0.0.1', function() {
agent.maxSockets + ' queued: ' + (agent.requests[addrString] ?
agent.requests['127.0.0.1:' + common.PORT].length : 0));

var agentRequests = agent.requests[addrString] ? agentRequests.length : 0;
var agentRequests = agent.requests[addrString] ?
agent.requests[addrString].length : 0;

if (maxQueued < agentRequests) {
maxQueued = agentRequests;
Expand Down

0 comments on commit d2aec6a

Please sign in to comment.