diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Main.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Main.hs b/examples/Main.hs index 5128b290..ef12cc70 100644 --- a/examples/Main.hs +++ b/examples/Main.hs | |||
@@ -12,7 +12,7 @@ main = do | |||
12 | print (contentLayout "./" (tInfo torrent)) | 12 | print (contentLayout "./" (tInfo torrent)) |
13 | let loc = TorrentLoc path "/tmp" | 13 | let loc = TorrentLoc path "/tmp" |
14 | 14 | ||
15 | withDefaultClient 51413 3000 $ \ client -> do | 15 | withDefaultClient (head defaultPorts) 3000 $ \ client -> do |
16 | openSwarmSession client loc | 16 | openSwarmSession client loc |
17 | threadDelay 1000000000000 | 17 | threadDelay 1000000000000 |
18 | return () | 18 | return () |