summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/Core
diff options
context:
space:
mode:
authorSam Truzjan <pxqr.sta@gmail.com>2013-11-28 18:57:27 +0400
committerSam Truzjan <pxqr.sta@gmail.com>2013-11-28 18:57:27 +0400
commit7259eb7fc54896ab2efcc8dd5f5cb8077ac6bdb1 (patch)
tree9ecc3d6d1c003e18980481c81e60a9d3af93e9b1 /src/Network/BitTorrent/Core
parente9421f9d72e492270a6a3fa11ed6c47f60e7fa5c (diff)
Refactor exchange namespaces
Diffstat (limited to 'src/Network/BitTorrent/Core')
-rw-r--r--src/Network/BitTorrent/Core/PeerId.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Network/BitTorrent/Core/PeerId.hs b/src/Network/BitTorrent/Core/PeerId.hs
index 3f90347c..8bd175e5 100644
--- a/src/Network/BitTorrent/Core/PeerId.hs
+++ b/src/Network/BitTorrent/Core/PeerId.hs
@@ -58,7 +58,6 @@ import System.Locale (defaultTimeLocale)
58import Text.PrettyPrint hiding ((<>)) 58import Text.PrettyPrint hiding ((<>))
59import Text.PrettyPrint.Class 59import Text.PrettyPrint.Class
60import Text.Read (readMaybe) 60import Text.Read (readMaybe)
61import Paths_bittorrent (version)
62 61
63import Data.Torrent.Client 62import Data.Torrent.Client
64 63
@@ -173,7 +172,7 @@ defaultClientId = "HS"
173-- package. Version is taken from .cabal file. 172-- package. Version is taken from .cabal file.
174defaultVersionNumber :: ByteString 173defaultVersionNumber :: ByteString
175defaultVersionNumber = BS.take 4 $ BC.pack $ foldMap show $ 174defaultVersionNumber = BS.take 4 $ BC.pack $ foldMap show $
176 versionBranch version 175 versionBranch $ ciVersion libClientInfo
177 176
178{----------------------------------------------------------------------- 177{-----------------------------------------------------------------------
179-- Generation 178-- Generation