Permalink
Browse files

Merge pull request #120 from coderunr/patch-4

Remove unnecessary toString call.
  • Loading branch information...
fzaninotto committed Mar 6, 2013
2 parents fe580f7 + d294f81 commit 840aef23475db1ff5918d0cd9afb0de523ba9f9d
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/monitor.js
View
@@ -82,7 +82,7 @@ Monitor.prototype.findChecksNeedingPoll = function(callback) {
}
var body = '';
res.on('data', function(chunk) {
- body += chunk.toString();
+ body += chunk;
});
res.on('end', function() {
callback(null, JSON.parse(body));

0 comments on commit 840aef2

Please sign in to comment.