0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-10 22:18:54 +02:00

ircd:Ⓜ️:sync: Fix loghead/console formatting.

This commit is contained in:
Jason Volk 2019-07-06 22:24:27 -07:00
parent 6fb6f096de
commit 3816d4104a
2 changed files with 4 additions and 2 deletions

View file

@ -816,12 +816,14 @@ ircd::m::sync::loghead(const data &data)
return fmt::sprintf
{
headbuf, "%s %s %ld:%lu|%lu chunk:%zu sent:%s of %s in %s",
headbuf, "%s %s %ld:%lu|%lu%s chunk:%zu sent:%s of %s in %s",
remstr,
string_view{data.user.user_id},
data.range.first,
data.range.second,
vm::sequence::retired,
data.phased?
"|P"_sv : ""_sv,
flush_count,
ircd::pretty(iecbuf[1], iec(flush_bytes)),
data.out?

View file

@ -5413,7 +5413,7 @@ console_cmd__client__sync(opt &out, const string_view &line)
{
const auto *const &client(data_p->client);
if(client)
out << client->loghead() << " < ";
out << client->loghead() << " | ";
out << m::sync::loghead(*data_p) << " | ";
out << std::endl;