summaryrefslogtreecommitdiff
path: root/exsamples/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'exsamples/Main.hs')
-rw-r--r--exsamples/Main.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/exsamples/Main.hs b/exsamples/Main.hs
index 2c879378..9ed311ae 100644
--- a/exsamples/Main.hs
+++ b/exsamples/Main.hs
@@ -12,10 +12,10 @@ import Data.IORef
12 12
13main :: IO () 13main :: IO ()
14main = do 14main = do
15 [path] <- getArgs 15 [path] <- getArgs
16 torrent <- fromFile path 16 torrent <- fromFile path
17 17
18 client <- newClient 1 [] 18 client <- defaultClient
19 swarm <- newLeacher client torrent 19 swarm <- newLeacher client torrent
20 20
21 discover swarm $ do 21 discover swarm $ do