1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-10 11:43:01 +03:00

Fix parser regression

This commit is contained in:
Ruben Bridgewater
2015-10-10 01:51:37 +02:00
parent 331ea59ca7
commit e951bfb177

View File

@@ -81,7 +81,7 @@ ReplyParser.prototype._parseResult = function (type) {
return this._buffer.slice(start, end);
}
return this._buffer.toString(this._encoding, start, end);
} else { // *
} else if (type === 42) { // *
offset = this._offset;
packetHeader = this.parseHeader();