Merge branch 'master' of github.com:Araq/Nimrod
This commit is contained in:
commit
b403b41aec
1 changed files with 1 additions and 1 deletions
|
|
@ -404,7 +404,7 @@ template gaiNim(a, p, h, list: expr): stmt =
|
|||
when defined(windows):
|
||||
OSError(OSLastError())
|
||||
else:
|
||||
OSError($gai_strerror(gaiResult))
|
||||
raise newException(EOS, $gai_strerror(gaiResult))
|
||||
|
||||
proc bindAddr*(socket: TSocket, port = TPort(0), address = "") {.
|
||||
tags: [FReadIO].} =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue