mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
tevent: use tevent_poll_event_add_fd_internal() in poll_event_add_fd()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
8e3ef659f8
commit
f75fd905f7
@ -308,8 +308,7 @@ static struct tevent_fd *poll_event_add_fd(struct tevent_context *ev,
|
||||
fde->additional_flags = UINT64_MAX;
|
||||
fde->additional_data = NULL;
|
||||
|
||||
DLIST_ADD(poll_ev->fresh, fde);
|
||||
talloc_set_destructor(fde, poll_fresh_fde_destructor);
|
||||
tevent_poll_event_add_fd_internal(ev, fde);
|
||||
poll_event_wake_pollthread(poll_ev);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user