2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Use sudo_timeval macros and remove compat macros from missing.h

This commit is contained in:
Todd C. Miller
2014-01-30 15:51:59 -07:00
parent 659b1f0e34
commit b813c4de48
7 changed files with 17 additions and 56 deletions

View File

@@ -1145,7 +1145,7 @@ check_input(int fd, int what, void *v)
if (!paused) {
/* Determine remaining timeout, if any. */
sudo_ev_get_timeleft(ev, &tv);
if (!timevalisset(&tv)) {
if (!sudo_timevalisset(&tv)) {
/* No time left, event is done. */
debug_return;
}