Skip to content

Commit 26e9d3c

Browse files
committed
fixing typo
1 parent 472f292 commit 26e9d3c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Network/Socket/Buffer.hsc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,11 +282,11 @@ recvBufMsg s bufsizs clen flags = do
282282
with msgHdr $ \msgHdrPtr -> do
283283
len <- (fmap fromIntegral) <$>
284284
#if !defined(mingw32_HOST_OS)
285-
throwSocketErrorWaitRead s "Network.Socket.Buffer.recvmg" $
285+
throwSocketErrorWaitRead s "Network.Socket.Buffer.recvmsg" $
286286
c_recvmsg fd msgHdrPtr _cflags
287287
#else
288288
alloca $ \len_ptr -> do
289-
_ <- throwSocketErrorWaitReadBut (== #{const WSAEMSGSIZE}) s "Network.Socket.Buffer.recvmg" $
289+
_ <- throwSocketErrorWaitReadBut (== #{const WSAEMSGSIZE}) s "Network.Socket.Buffer.recvmsg" $
290290
c_recvmsg fd msgHdrPtr len_ptr nullPtr nullPtr
291291
peek len_ptr
292292
#endif

0 commit comments

Comments
 (0)