peer: socket -> createSocket parameter

Signed-off-by: Fedor Indutny <fedor@indutny.com>
This commit is contained in:
lms 2014-05-14 22:02:58 +02:00 committed by Fedor Indutny
parent d177194bd2
commit 67298c60e0

View File

@ -14,7 +14,7 @@ try {
function Peer(pool, createSocket, options) { function Peer(pool, createSocket, options) {
if (!(this instanceof Peer)) if (!(this instanceof Peer))
return new Peer(pool, socket, options); return new Peer(pool, createSocket, options);
EventEmitter.call(this); EventEmitter.call(this);