diff options
Diffstat (limited to 'examples/Main.hs')
-rw-r--r-- | examples/Main.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/Main.hs b/examples/Main.hs index 1d3b711b..b8e3c11f 100644 --- a/examples/Main.hs +++ b/examples/Main.hs | |||
@@ -8,3 +8,6 @@ main = do | |||
8 | [path] <- getArgs | 8 | [path] <- getArgs |
9 | torrent <- fromFile path | 9 | torrent <- fromFile path |
10 | print (contentLayout "./" (tInfo torrent)) | 10 | print (contentLayout "./" (tInfo torrent)) |
11 | |||
12 | withDefaultClient 3000 3001 $ \ client -> | ||
13 | addTorrent client $ TorrentLoc path "/tmp" | ||