From 5bdbc3f0bca0bf3530f4239f4e04738f20dc9a8b Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 18 Apr 2019 18:56:08 -0700 Subject: [PATCH] ircd::info: Chomp newline from ctime() calls. --- ircd/info.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ircd/info.cc b/ircd/info.cc index 83ffde277..7d39920b8 100644 --- a/ircd/info.cc +++ b/ircd/info.cc @@ -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)