summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/Internal.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/BitTorrent/Internal.hs')
-rw-r--r--src/Network/BitTorrent/Internal.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Network/BitTorrent/Internal.hs b/src/Network/BitTorrent/Internal.hs
index 39e10ce2..91dc35d5 100644
--- a/src/Network/BitTorrent/Internal.hs
+++ b/src/Network/BitTorrent/Internal.hs
@@ -226,12 +226,12 @@ updateOutcoming PeerSession {..} =
226 updateTimeout (eventManager (clientSession swarmSession)) 226 updateTimeout (eventManager (clientSession swarmSession))
227 outcomingTimeout maxOutcomingTime 227 outcomingTimeout maxOutcomingTime
228 228
229sendKA :: Socket -> SwarmSession -> IO () 229sendKA :: Socket -> IO ()
230sendKA sock SwarmSession {..} = do 230sendKA sock {- SwarmSession {..} -} = do
231 print "I'm sending keep alive." 231 print "I'm sending keep alive."
232 sendAll sock (encode BT.KeepAlive) 232 sendAll sock (encode BT.KeepAlive)
233 let mgr = eventManager clientSession 233-- let mgr = eventManager clientSession
234 updateTimeout mgr 234-- updateTimeout mgr
235 print "Done.." 235 print "Done.."
236 236
237abortSession :: IO () 237abortSession :: IO ()