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

Remove an errant list_next() call that should have been removed

in the TAILQ conversion.
This commit is contained in:
Todd C. Miller
2013-10-22 09:33:12 -06:00
parent b38d253e98
commit b2cba83688

View File

@@ -165,7 +165,6 @@ rescan:
/* Service each event that fired. */
TAILQ_FOREACH_SAFE(ev, &base->events, entries, base->pending) {
int what = 0;
base->pending = list_next(ev);
if (FD_ISSET(ev->fd, base->readfds))
what |= (ev->events & SUDO_EV_READ);
if (FD_ISSET(ev->fd, base->writefds))