]> git.rkrishnan.org Git - functorrent.git/commitdiff
cleanups on various module imports
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Sun, 10 Jul 2016 07:55:28 +0000 (13:25 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Sun, 10 Jul 2016 07:55:28 +0000 (13:25 +0530)
src/FuncTorrent/Peer.hs
src/FuncTorrent/Server.hs

index c833c061bd4285be88f3754e62e5b83774c1d806..bf1153bd1063a7182e49f2d1ee2b641ae9ca63e9 100644 (file)
@@ -20,8 +20,7 @@
 {-# LANGUAGE OverloadedStrings #-}
 
 module FuncTorrent.Peer
-    (PieceMap,
-     handlePeerMsgs
+    (handlePeerMsgs
     ) where
 
 import Prelude hiding (lookup, concat, replicate, splitAt, take, drop)
index 3827aa2bc35673110f379901ac139090e2fd3bcf..d8a18ffdd49ad8247054e2e5389660328175af00 100644 (file)
@@ -27,8 +27,9 @@ import Network (withSocketsDo, listenOn, accept, Socket, PortID ( PortNumber ))
 import System.IO (hSetBuffering, BufferMode ( NoBuffering ))
 
 import FuncTorrent.Metainfo (Metainfo)
-import FuncTorrent.Peer (handlePeerMsgs, PieceMap)
+import FuncTorrent.Peer (handlePeerMsgs)
 import FuncTorrent.PeerMsgs (Peer(..))
+import FuncTorrent.PieceManager (PieceMap)
 import qualified FuncTorrent.FileSystem as FS (MsgChannel)
 
 -- server is listening on any port from 6881 - 6889