diff options
author | Sam Truzjan <pxqr.sta@gmail.com> | 2013-11-28 18:57:27 +0400 |
---|---|---|
committer | Sam Truzjan <pxqr.sta@gmail.com> | 2013-11-28 18:57:27 +0400 |
commit | 7259eb7fc54896ab2efcc8dd5f5cb8077ac6bdb1 (patch) | |
tree | 9ecc3d6d1c003e18980481c81e60a9d3af93e9b1 /src/Network/BitTorrent/Core | |
parent | e9421f9d72e492270a6a3fa11ed6c47f60e7fa5c (diff) |
Refactor exchange namespaces
Diffstat (limited to 'src/Network/BitTorrent/Core')
-rw-r--r-- | src/Network/BitTorrent/Core/PeerId.hs | 3 |
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) | |||
58 | import Text.PrettyPrint hiding ((<>)) | 58 | import Text.PrettyPrint hiding ((<>)) |
59 | import Text.PrettyPrint.Class | 59 | import Text.PrettyPrint.Class |
60 | import Text.Read (readMaybe) | 60 | import Text.Read (readMaybe) |
61 | import Paths_bittorrent (version) | ||
62 | 61 | ||
63 | import Data.Torrent.Client | 62 | import 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. |
174 | defaultVersionNumber :: ByteString | 173 | defaultVersionNumber :: ByteString |
175 | defaultVersionNumber = BS.take 4 $ BC.pack $ foldMap show $ | 174 | defaultVersionNumber = BS.take 4 $ BC.pack $ foldMap show $ |
176 | versionBranch version | 175 | versionBranch $ ciVersion libClientInfo |
177 | 176 | ||
178 | {----------------------------------------------------------------------- | 177 | {----------------------------------------------------------------------- |
179 | -- Generation | 178 | -- Generation |