aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-06-28 11:51:52 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2018-06-28 11:51:52 +0200
commit06bcb7c87285afb130fd6271ab7df3baf81d38e9 (patch)
treef68ef5cd1f6f4f64d9b14b9b903e4c28d73ef124 /src
parent76e52ed4b0f7b07e4c663661ae0a336b197a6907 (diff)
downloadpandoc-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')
-rw-r--r--src/Text/Pandoc/Class.hs2
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)