mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd:Ⓜ️:sync: Fix loghead/console formatting.
This commit is contained in:
parent
6fb6f096de
commit
3816d4104a
2 changed files with 4 additions and 2 deletions
|
@ -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?
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue