Skip to content

Commit

Permalink
Fix bug in ready check with return_buffers set to true.
Browse files Browse the repository at this point in the history
Thanks to Dean Mao and Austin Chau.
  • Loading branch information
mranney committed Feb 23, 2011
1 parent 99ae085 commit 29e09c1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
=========

## v0.5.6 - February 22, 2011

Fix bug in ready check with `return_buffers` set to `true`.

Thanks to Dean Mao and Austin Chau.

## v0.5.5 - February 16, 2011

Add probe for server readiness.
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ RedisClient.prototype.ready_check = function () {
return;
}

var lines = res.split("\r\n"), obj = {}, retry_time;
var lines = res.toString().split("\r\n"), obj = {}, retry_time;

lines.forEach(function (line) {
var parts = line.split(':');
if (parts[1]) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ "name" : "redis",
"version" : "0.5.5",
"version" : "0.5.6",
"description" : "Redis client library",
"author": "Matt Ranney <mjr@ranney.com>",
"contributors": [
Expand Down

0 comments on commit 29e09c1

Please sign in to comment.