mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 23:44:01 +01:00
ircd::info: Chomp newline from ctime() calls.
This commit is contained in:
parent
d86feb2ae1
commit
5bdbc3f0bc
1 changed files with 2 additions and 2 deletions
|
@ -504,7 +504,7 @@ ircd::info::max_align
|
|||
decltype(ircd::info::startup)
|
||||
ircd::info::startup
|
||||
{
|
||||
ctime(&startup_time)
|
||||
rstrip(ctime(&startup_time), '\n')
|
||||
};
|
||||
|
||||
decltype(ircd::info::compiled)
|
||||
|
@ -516,7 +516,7 @@ ircd::info::compiled
|
|||
decltype(ircd::info::configured)
|
||||
ircd::info::configured
|
||||
{
|
||||
ctime(&configured_time)
|
||||
rstrip(ctime(&configured_time), '\n')
|
||||
};
|
||||
|
||||
decltype(ircd::info::startup_time)
|
||||
|
|
Loading…
Reference in a new issue