Fixed wrong block size (thanks to Emmanuel Cabestan).

This commit is contained in:
Vincent Richard 2007-06-07 16:36:04 +00:00
parent 8c6ba0e058
commit 923a53990b

View File

@ -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)
{