0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

ircd:Ⓜ️ Fix content size sampling in pretty(event).

This commit is contained in:
Jason Volk 2018-04-20 23:48:39 -07:00
parent 6b32da764d
commit 799f450b47

View file

@ -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 << ", ";