Skip to content

Commit 0505db5

Browse files
committed
removing SCC
1 parent 99d33f6 commit 0505db5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Network/Socket/Shutdown.hs

+1-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ gracefulClose s tmout = sendRecvFIN `E.finally` close s
5656
Left (E.SomeException _) -> return ()
5757
Right () -> do
5858
-- Waiting TCP FIN.
59-
E.bracket (mallocBytes bufSize) free $ \buf -> do
60-
{-# SCC "" #-} recvEOFloop buf
59+
E.bracket (mallocBytes bufSize) free recvEOFloop
6160
-- milliseconds. Taken from BSD fast clock value.
6261
clock = 200
6362
recvEOFloop buf = loop 0

network.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ library
132132
ghc-options: -Wall -fwarn-tabs
133133
build-depends:
134134
base >=4.9 && <5,
135-
bytestring >=0.10 && <0.13,
135+
bytestring >=0.10,
136136
deepseq,
137137
directory
138138

0 commit comments

Comments
 (0)