mirror of
https://github.com/matrix-construct/construct
synced 2024-11-16 15:00:51 +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)
|
decltype(ircd::info::startup)
|
||||||
ircd::info::startup
|
ircd::info::startup
|
||||||
{
|
{
|
||||||
ctime(&startup_time)
|
rstrip(ctime(&startup_time), '\n')
|
||||||
};
|
};
|
||||||
|
|
||||||
decltype(ircd::info::compiled)
|
decltype(ircd::info::compiled)
|
||||||
|
@ -516,7 +516,7 @@ ircd::info::compiled
|
||||||
decltype(ircd::info::configured)
|
decltype(ircd::info::configured)
|
||||||
ircd::info::configured
|
ircd::info::configured
|
||||||
{
|
{
|
||||||
ctime(&configured_time)
|
rstrip(ctime(&configured_time), '\n')
|
||||||
};
|
};
|
||||||
|
|
||||||
decltype(ircd::info::startup_time)
|
decltype(ircd::info::startup_time)
|
||||||
|
|
Loading…
Reference in a new issue