From 367c567c5f35db202474c8d3f730484538e1fb97 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 9 Feb 2012 13:16:55 +1100 Subject: lib/util: Remove sys_poll as it is no longer needed sys_poll() is only needed if the signal pipe is set up and used, but as no signal handler ever writes to the pipe, this can all be removed. signal based events are now handled via tevent. Andrew Bartlett Signed-off-by: Jeremy Allison --- source3/winbindd/winbindd_dual.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/winbindd/winbindd_dual.c') diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c index d0bcd3bd40..f11dae7e08 100644 --- a/source3/winbindd/winbindd_dual.c +++ b/source3/winbindd/winbindd_dual.c @@ -1507,7 +1507,7 @@ static bool fork_domain_child(struct winbindd_child *child) (unsigned int)tp->tv_sec, (unsigned int)tp->tv_usec )); } - ret = sys_poll(pfds, num_pfds, timeout); + ret = poll(pfds, num_pfds, timeout); if (run_events_poll(winbind_event_context(), ret, pfds, num_pfds)) { -- cgit