Add sudo_ev_dispatch(), a wrapper for ev_loop() with no flags.
Similar the dispatch function in libevent.
This commit is contained in:
@@ -617,7 +617,7 @@ exec_monitor(struct command_details *details, sigset_t *oset,
|
||||
*/
|
||||
cstat.type = CMD_INVALID;
|
||||
cstat.val = 0;
|
||||
(void) sudo_ev_loop(mc.evbase, 0);
|
||||
(void) sudo_ev_dispatch(mc.evbase);
|
||||
if (mc.cmnd_pid != -1) {
|
||||
pid_t pid;
|
||||
|
||||
|
Reference in New Issue
Block a user