diff options
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/coro.nim | 2 | ||||
-rw-r--r-- | lib/pure/net.nim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/coro.nim b/lib/pure/coro.nim index d6a7ceec8..4b446f44c 100644 --- a/lib/pure/coro.nim +++ b/lib/pure/coro.nim @@ -122,7 +122,7 @@ when defined(unix): const extra = " -D_XOPEN_SOURCE" else: const extra = "" - {.passC: "-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0" & extra.} + {.passc: "-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0" & extra.} const CORO_CREATED = 0 diff --git a/lib/pure/net.nim b/lib/pure/net.nim index 6e2f5d049..a2a3252de 100644 --- a/lib/pure/net.nim +++ b/lib/pure/net.nim @@ -1110,7 +1110,7 @@ proc waitFor(socket: Socket, waited: var Duration, timeout, size: int, if selRet < 0: raiseOSError(osLastError()) if selRet != 1: raise newException(TimeoutError, "Call to '" & funcName & "' timed out.") - waited += (getMonoTIme() - startTime) + waited += (getMonoTime() - startTime) proc recv*(socket: Socket, data: pointer, size: int, timeout: int): int {. tags: [ReadIOEffect, TimeEffect].} = |