From 5b122b1fab7f2de4942db6100a7363ccdc478a71 Mon Sep 17 00:00:00 2001 From: Sam Truzjan Date: Sun, 5 Jan 2014 17:42:21 +0400 Subject: Make Torrent(tAnnounce) field optional --- src/Network/BitTorrent/Client/Swarm.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Network') diff --git a/src/Network/BitTorrent/Client/Swarm.hs b/src/Network/BitTorrent/Client/Swarm.hs index 1901905c..7fdd1f2f 100644 --- a/src/Network/BitTorrent/Client/Swarm.hs +++ b/src/Network/BitTorrent/Client/Swarm.hs @@ -24,7 +24,7 @@ data Swarm = Swarm newLeecher :: PeerId -> PortNumber -> Torrent -> IO Swarm newLeecher pid port Torrent {..} = do - tracker <- connect tAnnounce + tracker <- connect undefined return Swarm { swarmTopic = idInfoHash tInfoDict , thisPeerId = pid -- cgit v1.2.3