On Sat, Jan 06 2018, Scott Cheloha wrote:
> Hey,
>
> Use monotime here so the correct session duration is logged even
> in the event of a clock jump.
>
> While here, I think it's a good idea to cast time_t to the widest
> practical integer type when printing it to minimize the likelihood
> of trun
Hey,
Use monotime here so the correct session duration is logged even
in the event of a clock jump.
While here, I think it's a good idea to cast time_t to the widest
practical integer type when printing it to minimize the likelihood
of truncation on platforms where int is smaller than time_t, or