mirror of https://codeberg.org/nsxiv/nsxiv
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.pull/280/head
parent
3a22e6a6c5
commit
633a4f66d9
Loading…
Reference in New Issue