Skip to content

Commit c08461f

Browse files
author
Ruben Bridgewater
committed
Fix typo in debug message
1 parent ef23814 commit c08461f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ RedisClient.prototype.install_stream_listeners = function () {
112112
});
113113

114114
this.stream.on('data', function (buffer_from_socket) {
115-
// The data.toString() has a significant impact on big chunks and therefor this should only be used if necessary
116-
debug('Net read ' + this.address + ' id ' + this.connection_id); // + ': ' + data.toString());
115+
// The buffer_from_socket.toString() has a significant impact on big chunks and therefor this should only be used if necessary
116+
debug('Net read ' + self.address + ' id ' + self.connection_id); // + ': ' + buffer_from_socket.toString());
117117
self.reply_parser.execute(buffer_from_socket);
118118
});
119119

0 commit comments

Comments
 (0)