summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/Tracker/RPC/Message.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/BitTorrent/Tracker/RPC/Message.hs')
-rw-r--r--src/Network/BitTorrent/Tracker/RPC/Message.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Network/BitTorrent/Tracker/RPC/Message.hs b/src/Network/BitTorrent/Tracker/RPC/Message.hs
index 4a5aa789..26e57760 100644
--- a/src/Network/BitTorrent/Tracker/RPC/Message.hs
+++ b/src/Network/BitTorrent/Tracker/RPC/Message.hs
@@ -227,7 +227,7 @@ instance QueryValueLike Int where
227instance QueryLike AnnounceQuery where 227instance QueryLike AnnounceQuery where
228 toQuery AnnounceQuery {..} = 228 toQuery AnnounceQuery {..} =
229 toQuery reqProgress ++ 229 toQuery reqProgress ++
230 [ ("info_hash", toQueryValue reqInfoHash) 230 [ ("info_hash", toQueryValue reqInfoHash) -- TODO use 'paramName'
231 , ("peer_id" , toQueryValue reqPeerId) 231 , ("peer_id" , toQueryValue reqPeerId)
232 , ("port" , toQueryValue reqPort) 232 , ("port" , toQueryValue reqPort)
233 , ("ip" , toQueryValue reqIP) 233 , ("ip" , toQueryValue reqIP)
@@ -376,7 +376,7 @@ instance Default AnnounceQueryExt where
376 376
377instance QueryLike AnnounceQueryExt where 377instance QueryLike AnnounceQueryExt where
378 toQuery AnnounceQueryExt {..} = 378 toQuery AnnounceQueryExt {..} =
379 [ ("compact", toQueryFlag <$> extCompact) 379 [ ("compact", toQueryFlag <$> extCompact) -- TODO use 'paramName'
380 , ("no_peer_id", toQueryFlag <$> extNoPeerId) 380 , ("no_peer_id", toQueryFlag <$> extNoPeerId)
381 ] 381 ]
382 where 382 where