mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-19 13:00:28 +00:00
Fix typo in io.read_at_least()
This commit is contained in:
@@ -443,7 +443,7 @@ read_at_least :: proc(r: Reader, buf: []byte, min: int) -> (n: int, err: Error)
|
||||
for n < min && err == nil {
|
||||
nn: int
|
||||
nn, err = read(r, buf[n:])
|
||||
n += n
|
||||
n += nn
|
||||
}
|
||||
|
||||
if n >= min {
|
||||
|
||||
Reference in New Issue
Block a user