From 06bcb7c87285afb130fd6271ab7df3baf81d38e9 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 28 Jun 2018 11:51:52 +0200 Subject: 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. --- src/Text/Pandoc/Class.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3