Case sensitivity fixes for Posix.
This commit is contained in:
parent
5fad73c8d0
commit
f6dc76cfe3
2 changed files with 21 additions and 21 deletions
|
|
@ -260,7 +260,7 @@ proc socketError*(socket: Socket, err: int = -1, async = false,
|
|||
else:
|
||||
if lastE.int32 == EAGAIN or lastE.int32 == EWOULDBLOCK:
|
||||
return
|
||||
else: osError(lastE)
|
||||
else: raiseOSError(lastE)
|
||||
else: raiseOSError(lastE)
|
||||
|
||||
proc listen*(socket: Socket, backlog = SOMAXCONN) {.tags: [ReadIOEffect].} =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue