diff options
Diffstat (limited to 'src/Network/BitTorrent/Tracker/HTTP.hs')
-rw-r--r-- | src/Network/BitTorrent/Tracker/HTTP.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Network/BitTorrent/Tracker/HTTP.hs b/src/Network/BitTorrent/Tracker/HTTP.hs index 2d49436d..b466b49e 100644 --- a/src/Network/BitTorrent/Tracker/HTTP.hs +++ b/src/Network/BitTorrent/Tracker/HTTP.hs | |||
@@ -69,7 +69,7 @@ mkGET uri = Request uri GET [] "" | |||
69 | -- | 69 | -- |
70 | announceHTTP :: HTTPTracker -> AnnounceQuery -> IO AnnounceInfo | 70 | announceHTTP :: HTTPTracker -> AnnounceQuery -> IO AnnounceInfo |
71 | announceHTTP HTTPTracker {..} req = do | 71 | announceHTTP HTTPTracker {..} req = do |
72 | let r = mkGET (encodeRequest announceURI req) | 72 | let r = mkGET (renderAnnounceQuery announceURI req) |
73 | 73 | ||
74 | rawResp <- simpleHTTP r | 74 | rawResp <- simpleHTTP r |
75 | respBody <- getResponseBody rawResp | 75 | respBody <- getResponseBody rawResp |