Fixed wrong block size (thanks to Emmanuel Cabestan).
This commit is contained in:
parent
8c6ba0e058
commit
923a53990b
@ -82,7 +82,7 @@ const stream::size_type bufferedStreamCopy(inputStream& is, outputStream& os,
|
||||
|
||||
while (!is.eof())
|
||||
{
|
||||
const stream::size_type read = is.read(buffer, sizeof(buffer));
|
||||
const stream::size_type read = is.read(buffer, blockSize);
|
||||
|
||||
if (read != 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user