forked from boostorg/beast
Fix test::pipe read_size
This commit is contained in:
1 parent
60a3221f0b
commit
3c2681f02b
2 files changed
+2
-1
No files matched your search
@@ -368,7 +368,7 @@ read_some(MutableBufferSequence const& buffers,
|
||||
if(in_.b.size() > 0)
|
||||
{
|
||||
bytes_transferred = buffer_copy(
|
||||
buffers, in_.b.data(), write_max_);
|
||||
buffers, in_.b.data(), read_max_);
|
||||
in_.b.consume(bytes_transferred);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user