fmt_timeframe() cleanup. Remove the ring buffer, it is not required.
authorclaudio <claudio@openbsd.org>
Thu, 23 Jun 2022 12:40:32 +0000 (12:40 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 23 Jun 2022 12:40:32 +0000 (12:40 +0000)
commit81dd5016dc730554a42746b2b8e718b0f0c5426a
tree06745d94b7693f01b621c1453a55499a6349aa17
parent643c39f3597396b36e01cbed3827367284e88209
fmt_timeframe() cleanup. Remove the ring buffer, it is not required.
Ensure that the time_t is positive and print increadibly long timeframes
of over 19 years just as weeks.
OK tb@
usr.sbin/bgpctl/bgpctl.c