Merge branch 'master' into asyncmacro

This commit is contained in:
Dominik Picheta 2013-07-21 11:09:20 +01:00
commit 84ea209fe1

View file

@ -404,7 +404,7 @@ template gaiNim(a, p, h, list: expr): stmt =
when defined(windows): when defined(windows):
OSError(OSLastError()) OSError(OSLastError())
else: else:
OSError($gai_strerror(gaiResult)) raise newException(EOS, $gai_strerror(gaiResult))
proc bindAddr*(socket: TSocket, port = TPort(0), address = "") {. proc bindAddr*(socket: TSocket, port = TPort(0), address = "") {.
tags: [FReadIO].} = tags: [FReadIO].} =