diff options
author | flywind <xzsflywind@gmail.com> | 2021-04-25 01:33:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-24 18:33:29 +0100 |
commit | 6e8f0f8cfcd6d617074be9868027e39daaeba103 (patch) | |
tree | 3f95c417bbf5ff9b0bab17fe8f3784860f7fba4c /lib | |
parent | b667e288e27a09ce4f65166fc66a6b713350a9b6 (diff) | |
download | Nim-6e8f0f8cfcd6d617074be9868027e39daaeba103.tar.gz |
add colon (#17834)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/httpclient.nim | 2 | ||||
-rw-r--r-- | lib/pure/selectors.nim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/httpclient.nim b/lib/pure/httpclient.nim index b60894103..86708dc40 100644 --- a/lib/pure/httpclient.nim +++ b/lib/pure/httpclient.nim @@ -751,7 +751,7 @@ proc parseBody(client: HttpClient | AsyncHttpClient, headers: HttpHeaders, httpError("Got disconnected while trying to read body.") if recvLen != length: httpError("Received length doesn't match expected length. Wanted " & - $length & " got " & $recvLen) + $length & " got: " & $recvLen) else: # (http://tools.ietf.org/html/rfc2616#section-4.4) NR.4 TODO diff --git a/lib/pure/selectors.nim b/lib/pure/selectors.nim index e78219aec..82550e09b 100644 --- a/lib/pure/selectors.nim +++ b/lib/pure/selectors.nim @@ -321,7 +321,7 @@ else: proc verifySelectParams(timeout: int) = # Timeout of -1 means: wait forever # Anything higher is the time to wait in milliseconds. - doAssert(timeout >= -1, "Cannot select with a negative value, got " & $timeout) + doAssert(timeout >= -1, "Cannot select with a negative value, got: " & $timeout) when defined(linux) and not defined(emscripten): include ioselects/ioselectors_epoll |