diff options
Diffstat (limited to 'lib/tevent/tevent_aio.c')
-rw-r--r-- | lib/tevent/tevent_aio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tevent/tevent_aio.c b/lib/tevent/tevent_aio.c index b15dab3aaf..28134bef5e 100644 --- a/lib/tevent/tevent_aio.c +++ b/lib/tevent/tevent_aio.c @@ -260,7 +260,7 @@ static int aio_event_loop(struct aio_event_context *aio_ev, struct timeval *tval if (aio_ev->epoll_fd == -1) return -1; - if (aio_ev->ev->num_signal_handlers && + if (aio_ev->ev->signal_events && tevent_common_check_signal(aio_ev->ev)) { return 0; } @@ -278,7 +278,7 @@ static int aio_event_loop(struct aio_event_context *aio_ev, struct timeval *tval events, tvalp?&timeout:NULL); if (ret == -EINTR) { - if (aio_ev->ev->num_signal_handlers) { + if (aio_ev->ev->signal_events) { tevent_common_check_signal(aio_ev->ev); } return 0; |