diff options
author | N-R-K <nrk@disroot.org> | 2022-05-12 14:47:46 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-12 14:47:46 +0000 |
commit | 633a4f66d98e46755effb71d6cd3f8a681c4818c (patch) | |
tree | 5c402e1f6a93871203c845a98934e307c09ae713 /sxiv.desktop | |
parent | 3a22e6a6c5ad10e8c5cb9abb3615d2a8867d63e9 (diff) |
check_timeouts: avoid unnecessary conversions (#273)
before we were using select, which expected `struct timeval` as
arg. so we needed to do ms -> timeval conversions.
but now since we're using poll, which accepts milisec as arg, there's
no need to do ms -> timeval -> ms. instead have check_timeouts directly
return ms.
Diffstat (limited to 'sxiv.desktop')
0 files changed, 0 insertions, 0 deletions