0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00

ircd::server: Use better buffer sizes and offsets in tag::cancel() procedure.

This commit is contained in:
Jason Volk 2018-03-20 14:09:32 -07:00
parent d21c2fc37c
commit bc8f5cba05

View file

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