1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +03:00

Fix typo in debug message

This commit is contained in:
Ruben Bridgewater
2015-11-06 20:25:46 +01:00
parent ef238143e9
commit c08461f781

View File

@@ -112,8 +112,8 @@ RedisClient.prototype.install_stream_listeners = function () {
});
this.stream.on('data', function (buffer_from_socket) {
// The data.toString() has a significant impact on big chunks and therefor this should only be used if necessary
debug('Net read ' + this.address + ' id ' + this.connection_id); // + ': ' + data.toString());
// The buffer_from_socket.toString() has a significant impact on big chunks and therefor this should only be used if necessary
debug('Net read ' + self.address + ' id ' + self.connection_id); // + ': ' + buffer_from_socket.toString());
self.reply_parser.execute(buffer_from_socket);
});