mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd:Ⓜ️ Fix content size sampling in pretty(event).
This commit is contained in:
parent
6b32da764d
commit
799f450b47
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ ircd::m::pretty(const event &event)
|
||||||
if(!contents.empty())
|
if(!contents.empty())
|
||||||
{
|
{
|
||||||
s << std::setw(16) << std::right << "[content]" << " :"
|
s << std::setw(16) << std::right << "[content]" << " :"
|
||||||
<< "+ " << size(contents) << " bytes :";
|
<< "+ " << size(string_view{contents}) << " bytes :";
|
||||||
|
|
||||||
for(const auto &content : contents)
|
for(const auto &content : contents)
|
||||||
s << content.first << ", ";
|
s << content.first << ", ";
|
||||||
|
|
Loading…
Reference in a new issue