limit pop3 log output

This commit is contained in:
Andris Reinman 2017-04-12 22:03:52 +03:00
parent 9c8682de7d
commit 5bda56c259

View file

@ -55,7 +55,7 @@ class POP3Connection extends EventEmitter {
tnx: 'send',
cid: this._id,
host: this.remoteAddress
}, 'S:', payload.length < 128 ? payload : payload.susbtr(0, 128) + '... +' + (payload.length - 128) + ' B');
}, 'S:', payload.length < 128 ? payload : payload.substr(0, 128) + '... +' + (payload.length - 128) + ' B');
this.write(payload + '\r\n');
}