peer: minor style fix.

Signed-off-by: Fedor Indutny <fedor@indutny.com>
This commit is contained in:
Christopher Jeffrey 2014-05-18 03:25:43 -05:00 committed by Fedor Indutny
parent 29746b5164
commit 9bec16ca49

View File

@ -348,7 +348,8 @@ Peer.prototype._handleGetAddr = function handleGetAddr() {
// '0000:0000:0000:0000:0000:xxxx:xxxx:ffff'
peers = peers.map(function(peer) {
if (!peer.socket || !peer.socket.remoteAddress) return;
if (!peer.socket || !peer.socket.remoteAddress)
return;
return {
host: peer.socket.remoteAddress,
port: peer.socket.remotePort || 8333