Closed FreddieChopin closed 5 years ago
In inner loop the number of read bytes was assigned to ret, however the buffer was shifted by len bytes, where len was set before the loop. This causes all kinds of strange issues when reading data.
ret
len
Fixes #8
Good catch, thanks!
In inner loop the number of read bytes was assigned to
ret
, however the buffer was shifted bylen
bytes, wherelen
was set before the loop. This causes all kinds of strange issues when reading data.Fixes #8