mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-26 20:48:32 +00:00
Fix new poll() code for helper pipe. Removed CPU-spin.
This commit is contained in:
1 parent
f6381cf482
commit
63ec5d1264
3 files changed
+13
-1
No files matched your search
+1
-1
@@ -1025,7 +1025,7 @@ int main (int argc, char **argv)
|
||||
#endif
|
||||
|
||||
# ifdef HAVE_SCRIPT
|
||||
if (daemon->helperfd != -1 && poll_check(daemon->helperfd, POLLIN))
|
||||
if (daemon->helperfd != -1 && poll_check(daemon->helperfd, POLLOUT))
|
||||
helper_write();
|
||||
# endif
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user