summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/MainlineDHT.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2017-11-08 00:05:18 -0500
committerjoe <joe@jerkface.net>2017-11-08 02:30:43 -0500
commit709834e3d78f2cec750397bf6f4b6a2ff14e8590 (patch)
tree0cc3328aa47678f33d8edfada1a59db1ea026069 /src/Network/BitTorrent/MainlineDHT.hs
parent65a2d2fbeee67dc400f683eaedf88153f0ba9bab (diff)
Removed redundant argument from BucketRefreshser constructor.
Diffstat (limited to 'src/Network/BitTorrent/MainlineDHT.hs')
-rw-r--r--src/Network/BitTorrent/MainlineDHT.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Network/BitTorrent/MainlineDHT.hs b/src/Network/BitTorrent/MainlineDHT.hs
index 47d5b3e1..f43b070c 100644
--- a/src/Network/BitTorrent/MainlineDHT.hs
+++ b/src/Network/BitTorrent/MainlineDHT.hs
@@ -562,8 +562,8 @@ newClient swarms addr = do
562 -- have a client to send queries with. 562 -- have a client to send queries with.
563 let nullPing = const $ return False 563 let nullPing = const $ return False
564 nullSearch = mainlineSearch $ \_ _ -> return Nothing 564 nullSearch = mainlineSearch $ \_ _ -> return Nothing
565 refresher4 <- newBucketRefresher mainlineSpace tentative_info nullSearch nullPing 565 refresher4 <- newBucketRefresher tentative_info nullSearch nullPing
566 refresher6 <- newBucketRefresher mainlineSpace tentative_info6 nullSearch nullPing 566 refresher6 <- newBucketRefresher tentative_info6 nullSearch nullPing
567 let tbl4 = refreshBuckets refresher4 567 let tbl4 = refreshBuckets refresher4
568 tbl6 = refreshBuckets refresher6 568 tbl6 = refreshBuckets refresher6
569 updateIPVote tblvar addrvar a = do 569 updateIPVote tblvar addrvar a = do