summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Data/Torrent/URN.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Data/Torrent/URN.hs b/src/Data/Torrent/URN.hs
index e9a0bd00..feb18f48 100644
--- a/src/Data/Torrent/URN.hs
+++ b/src/Data/Torrent/URN.hs
@@ -72,7 +72,7 @@ instance Convertible URN InfoHash where
72 | otherwise = safeConvert urnString 72 | otherwise = safeConvert urnString
73 73
74-- | Make resource name for torrent with corresponding 74-- | Make resource name for torrent with corresponding
75-- infohash. Infohash is base16 (hex) encoded). 75-- infohash. Infohash is base16 (hex) encoded.
76-- 76--
77infohashURN :: InfoHash -> URN 77infohashURN :: InfoHash -> URN
78infohashURN = URN btih . longHex 78infohashURN = URN btih . longHex