mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-01 14:55:12 +00:00
Remove an errant list_next() call that should have been removed
in the TAILQ conversion.
This commit is contained in:
@@ -165,7 +165,6 @@ rescan:
|
|||||||
/* Service each event that fired. */
|
/* Service each event that fired. */
|
||||||
TAILQ_FOREACH_SAFE(ev, &base->events, entries, base->pending) {
|
TAILQ_FOREACH_SAFE(ev, &base->events, entries, base->pending) {
|
||||||
int what = 0;
|
int what = 0;
|
||||||
base->pending = list_next(ev);
|
|
||||||
if (FD_ISSET(ev->fd, base->readfds))
|
if (FD_ISSET(ev->fd, base->readfds))
|
||||||
what |= (ev->events & SUDO_EV_READ);
|
what |= (ev->events & SUDO_EV_READ);
|
||||||
if (FD_ISSET(ev->fd, base->writefds))
|
if (FD_ISSET(ev->fd, base->writefds))
|
||||||
|
Reference in New Issue
Block a user