diff options
Diffstat (limited to 'networking/httpd.c')
-rw-r--r-- | networking/httpd.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/networking/httpd.c b/networking/httpd.c index cedec80..92a0710 100644 --- a/networking/httpd.c +++ b/networking/httpd.c @@ -1073,13 +1073,9 @@ static NOINLINE void cgi_io_loop_and_exit(int fromCgi_rd, int toCgi_wr, int post } /* Now wait on the set of sockets */ - count = poll(pfd, 3, -1); + count = safe_poll(pfd, 3, -1); if (count <= 0) { #if 0 - if (errno == EINTR) - continue; -#endif -#if 0 if (waitpid(pid, &status, WNOHANG) <= 0) { /* Weird. CGI didn't exit and no fd's * are ready, yet poll returned?! */ |