diff options
Diffstat (limited to 'src/Network/BitTorrent/Internal.hs')
-rw-r--r-- | src/Network/BitTorrent/Internal.hs | 8 |
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 | ||
229 | sendKA :: Socket -> SwarmSession -> IO () | 229 | sendKA :: Socket -> IO () |
230 | sendKA sock SwarmSession {..} = do | 230 | sendKA 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 | ||
237 | abortSession :: IO () | 237 | abortSession :: IO () |