summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSam Truzjan <pxqr.sta@gmail.com>2013-12-19 17:20:16 +0400
committerSam Truzjan <pxqr.sta@gmail.com>2013-12-19 17:20:16 +0400
commit7a13eea1ad815411ee7bce4dcaa8a49bdd979356 (patch)
treefc9f73186891684d23d49e503bfdf4f291d6d405 /src
parent621c73c849332a9446c6e5b9bcd557b30884b318 (diff)
Rename Protocol module to Message
Diffstat (limited to 'src')
-rw-r--r--src/Network/KRPC.hs2
-rw-r--r--src/Network/KRPC/Message.hs (renamed from src/Network/KRPC/Protocol.hs)2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Network/KRPC.hs b/src/Network/KRPC.hs
index 802cddc5..8e158f48 100644
--- a/src/Network/KRPC.hs
+++ b/src/Network/KRPC.hs
@@ -130,7 +130,7 @@ import Network
130import Network.Socket 130import Network.Socket
131import Network.Socket.ByteString as BS 131import Network.Socket.ByteString as BS
132 132
133import Network.KRPC.Protocol 133import Network.KRPC.Message
134 134
135 135
136class (BEncode req, BEncode resp) => KRPC req resp | req -> resp where 136class (BEncode req, BEncode resp) => KRPC req resp | req -> resp where
diff --git a/src/Network/KRPC/Protocol.hs b/src/Network/KRPC/Message.hs
index 55bbdf4e..854b733c 100644
--- a/src/Network/KRPC/Protocol.hs
+++ b/src/Network/KRPC/Message.hs
@@ -18,7 +18,7 @@
18{-# LANGUAGE FunctionalDependencies #-} 18{-# LANGUAGE FunctionalDependencies #-}
19{-# LANGUAGE DefaultSignatures #-} 19{-# LANGUAGE DefaultSignatures #-}
20{-# LANGUAGE DeriveDataTypeable #-} 20{-# LANGUAGE DeriveDataTypeable #-}
21module Network.KRPC.Protocol 21module Network.KRPC.Message
22 ( -- * Error 22 ( -- * Error
23 KError(..) 23 KError(..)
24 , serverError 24 , serverError