mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 16:22:35 +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())
|
||||
{
|
||||
s << std::setw(16) << std::right << "[content]" << " :"
|
||||
<< "+ " << size(contents) << " bytes :";
|
||||
<< "+ " << size(string_view{contents}) << " bytes :";
|
||||
|
||||
for(const auto &content : contents)
|
||||
s << content.first << ", ";
|
||||
|
|
Loading…
Reference in a new issue