Skip to content

Commit ff99e97

Browse files
Update Network/Socket/Info.hsc
Co-authored-by: endgame <[email protected]>
1 parent 1411634 commit ff99e97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Network/Socket/Info.hsc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ getAddrInfoList hints node service =
315315

316316
followAddrInfo :: Ptr AddrInfo -> IO (NonEmpty AddrInfo)
317317
followAddrInfo ptr_ai
318-
| ptr_ai == nullPtr = ioError $ mkIOError NoSuchThing "getaddrinfo must retuan at least one addrinfo" Nothing Nothing
318+
| ptr_ai == nullPtr = ioError $ mkIOError NoSuchThing "getaddrinfo must return at least one addrinfo" Nothing Nothing
319319
| otherwise = do
320320
a <- peek ptr_ai
321321
ptr <- (# peek struct addrinfo, ai_next) ptr_ai

0 commit comments

Comments
 (0)