Re: authpf: use monotime for duration log

2018-01-14 Thread Jeremie Courreges-Anglas
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

authpf: use monotime for duration log

2018-01-06 Thread Scott Cheloha
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