Convert one more poll() to _getdns_poll().

This commit is contained in:
Jim Hague 2017-10-06 12:07:47 +01:00
parent dc7daede40
commit eb6da94e25
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ poll_eventloop_run_once(getdns_eventloop *loop, int blocking)
Sleep(poll_timeout); Sleep(poll_timeout);
} else } else
#endif #endif
if (poll(poll_loop->pfds, poll_loop->fd_events_free, poll_timeout) < 0) { if (_getdns_poll(poll_loop->pfds, poll_loop->fd_events_free, poll_timeout) < 0) {
perror("poll() failed"); perror("poll() failed");
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }