mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd::server: Use better buffer sizes and offsets in tag::cancel() procedure.
This commit is contained in:
parent
d21c2fc37c
commit
bc8f5cba05
1 changed files with 3 additions and 3 deletions
|
@ -1807,7 +1807,7 @@ noexcept
|
|||
|
||||
const mutable_buffer dst
|
||||
{
|
||||
data(out_head) + tag.state.written, size(src)
|
||||
out_head + tag.state.written
|
||||
};
|
||||
|
||||
copy(dst, src);
|
||||
|
@ -1829,7 +1829,7 @@ noexcept
|
|||
|
||||
const mutable_buffer dst
|
||||
{
|
||||
data(out_content) + content_written, size(src)
|
||||
out_content + content_written
|
||||
};
|
||||
|
||||
copy(dst, src);
|
||||
|
@ -1846,7 +1846,7 @@ noexcept
|
|||
|
||||
const mutable_buffer dst
|
||||
{
|
||||
data(in_head), size(src)
|
||||
data(in_head), size(in_head)
|
||||
};
|
||||
|
||||
copy(dst, src);
|
||||
|
|
Loading…
Reference in a new issue