We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 472f292 commit 26e9d3cCopy full SHA for 26e9d3c
1 file changed
Network/Socket/Buffer.hsc
@@ -282,11 +282,11 @@ recvBufMsg s bufsizs clen flags = do
282
with msgHdr $ \msgHdrPtr -> do
283
len <- (fmap fromIntegral) <$>
284
#if !defined(mingw32_HOST_OS)
285
- throwSocketErrorWaitRead s "Network.Socket.Buffer.recvmg" $
+ throwSocketErrorWaitRead s "Network.Socket.Buffer.recvmsg" $
286
c_recvmsg fd msgHdrPtr _cflags
287
#else
288
alloca $ \len_ptr -> do
289
- _ <- throwSocketErrorWaitReadBut (== #{const WSAEMSGSIZE}) s "Network.Socket.Buffer.recvmg" $
+ _ <- throwSocketErrorWaitReadBut (== #{const WSAEMSGSIZE}) s "Network.Socket.Buffer.recvmsg" $
290
c_recvmsg fd msgHdrPtr len_ptr nullPtr nullPtr
291
peek len_ptr
292
#endif
0 commit comments