From a2b4e5fff621b6b0aa363d6d54b04dbbb08ff6d1 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Sat, 22 Mar 2014 21:41:45 -0700 Subject: [PATCH] tabs to spaces --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5d4c115..bee7193 100644 --- a/README.md +++ b/README.md @@ -27,13 +27,13 @@ var Protocol = require('bittorrent-protocol') var net = require('net') net.createServer(function (socket) { - var wire = new Protocol() - socket.pipe(wire).pipe(socket) + var wire = new Protocol() + socket.pipe(wire).pipe(socket) // handle handshake - wire.on('handshake', function (infoHash, peerId) { - wire.handshake(new Buffer('my info hash'), new Buffer('my peer id')) - }) + wire.on('handshake', function (infoHash, peerId) { + wire.handshake(new Buffer('my info hash'), new Buffer('my peer id')) + }) }).listen(6881) ```