mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
ircd: Fix width of string to not assume and case for implicit null.
This commit is contained in:
parent
7de1c38d0e
commit
0f0ed1ba08
1 changed files with 1 additions and 1 deletions
|
@ -448,7 +448,7 @@ ircd::replace(const string_view &s,
|
|||
std::string
|
||||
ircd::u2a(const const_buffer &in)
|
||||
{
|
||||
return string(size(in) * 2, [&in]
|
||||
return string(size(in) * 2 + 1, [&in]
|
||||
(const mutable_buffer &out)
|
||||
{
|
||||
return u2a(out, in);
|
||||
|
|
Loading…
Reference in a new issue