diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-06-28 11:51:52 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-06-28 11:51:52 +0200 |
commit | 06bcb7c87285afb130fd6271ab7df3baf81d38e9 (patch) | |
tree | f68ef5cd1f6f4f64d9b14b9b903e4c28d73ef124 /src/Text/Pandoc | |
parent | 76e52ed4b0f7b07e4c663661ae0a336b197a6907 (diff) | |
download | pandoc-06bcb7c87285afb130fd6271ab7df3baf81d38e9.tar.gz |
Remove network-uri flag and use 'Network.Socket'.
This removes a compiler warning.
There is no need for the old network-uri flag, since
network 2.6 was released in 2014.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Class.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Class.hs b/src/Text/Pandoc/Class.hs index 4ade2dc6d..657a48d75 100644 --- a/src/Text/Pandoc/Class.hs +++ b/src/Text/Pandoc/Class.hs @@ -132,7 +132,7 @@ import Network.HTTP.Client.Internal (addProxy) import Network.HTTP.Client.TLS (tlsManagerSettings) import System.Environment (getEnv) import Network.HTTP.Types.Header ( hContentType ) -import Network (withSocketsDo) +import Network.Socket (withSocketsDo) import Data.ByteString.Lazy (toChunks) import qualified Control.Exception as E import qualified Data.Time.LocalTime as IO (getCurrentTimeZone) |