diff options
author | Sam T <pxqr.sta@gmail.com> | 2013-06-14 21:01:43 +0400 |
---|---|---|
committer | Sam T <pxqr.sta@gmail.com> | 2013-06-14 21:01:43 +0400 |
commit | 47a352db1cb99df9ce26da6c715cc2925946765c (patch) | |
tree | 872d66a89400e9a8cff1e47902ab1e762c93c7c9 /exsamples | |
parent | 9ee6f55b2aa3df52f8bdb9a53759644e4fd14694 (diff) |
~ Add documentation for PeerSession.
Diffstat (limited to 'exsamples')
-rw-r--r-- | exsamples/Main.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exsamples/Main.hs b/exsamples/Main.hs index 4eb09043..d0404405 100644 --- a/exsamples/Main.hs +++ b/exsamples/Main.hs | |||
@@ -18,7 +18,7 @@ main = do | |||
18 | print (contentLayout "./" (tInfo torrent)) | 18 | print (contentLayout "./" (tInfo torrent)) |
19 | 19 | ||
20 | client <- newClient 100 [] | 20 | client <- newClient 100 [] |
21 | swarm <- newLeacher client torrent | 21 | swarm <- newLeecher client torrent |
22 | 22 | ||
23 | ref <- liftIO $ newIORef 0 | 23 | ref <- liftIO $ newIORef 0 |
24 | discover swarm $ do | 24 | discover swarm $ do |