fix 32-bit timer overflow and typo in base64 error message
This commit is contained in:
parent
38c83660fa
commit
9a4a25e3e0
2 changed files with 2 additions and 2 deletions
|
|
@ -121,7 +121,7 @@ proc base64decode*(i: InputStream, o: OutputStream) {.fsMultiSync.} =
|
|||
inputChar(d)
|
||||
outputChar(c shl 6 or d shr 0)
|
||||
elif i.readable:
|
||||
raise newException(ValueError, "The input stream has insufficient nymber of bytes for base64 decoding")
|
||||
raise newException(ValueError, "The input stream has insufficient number of bytes for base64 decoding")
|
||||
|
||||
close o
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue