|
|
@@ -1082,7 +1082,7 @@ begin |
|
|
if res < 0 then |
|
|
if res < 0 then |
|
|
Exit; |
|
|
Exit; |
|
|
// setup writing to next part |
|
|
// setup writing to next part |
|
|
inc(fStream.next_out, current_read); |
|
|
|
|
|
|
|
|
fStream.next_out:= @Tbytearray(Buffer)[Result]; |
|
|
dec(Count, current_read); |
|
|
dec(Count, current_read); |
|
|
fStream.avail_out:= Count; |
|
|
fStream.avail_out:= Count; |
|
|
// re-read from this new block |
|
|
// re-read from this new block |
|
|
|