File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ recvEOF :: Socket -> Int -> Ptr Word8 -> IO ()
74
74
recvEOF s tmout0 buf = do
75
75
mevmgr <- Ev. getSystemEventManager
76
76
case mevmgr of
77
- Nothing -> recvEOFloop s tmout0 buf
77
+ Nothing -> recvEOFtimeout s tmout0 buf
78
78
Just _ -> recvEOFevent s tmout0 buf
79
79
#else
80
80
recvEOF = recvEOFloop
@@ -85,8 +85,8 @@ recvEOF = recvEOFloop
85
85
bufSize :: Int
86
86
bufSize = 1024
87
87
88
- recvEOFloop :: Socket -> Int -> Ptr Word8 -> IO ()
89
- recvEOFloop s tmout0 buf = void $ timeout tmout0 $ recvBuf s buf bufSize
88
+ recvEOFtimeout :: Socket -> Int -> Ptr Word8 -> IO ()
89
+ recvEOFtimeout s tmout0 buf = void $ timeout tmout0 $ recvBuf s buf bufSize
90
90
91
91
#if !defined(mingw32_HOST_OS)
92
92
data Wait = MoreData | TimeoutTripped
You can’t perform that action at this time.
0 commit comments