example: fix connect callback log

This commit is contained in:
Santiago Gimeno
2014-09-22 12:50:02 +02:00
parent 246cbcc7ee
commit dbc0431295

View File

@@ -29,7 +29,7 @@ pcsc.on('reader', function(reader) {
if (err) {
console.log(err);
} else {
console.log('Protocol(', this.name, '):', protocol);
console.log('Protocol(', reader.name, '):', protocol);
reader.transmit(new Buffer([0x00, 0xB0, 0x00, 0x00, 0x20]), 40, protocol, function(err, data) {
if (err) {
console.log(err);