You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ha...@ooo.lanl.gov> on 1996/04/24 17:39:02 UTC
compilation warning
The following is needed to keep my HPUX compiler happy.
It'll probably cause other compilers to barf, so it needs a more
general solution.
*** http_main.c.orig Wed Apr 24 09:31:30 1996
--- http_main.c Wed Apr 24 09:34:21 1996
***************
*** 1129,1135 ****
for (;;) {
memcpy(&fds, &listenfds, sizeof(fd_set));
! csd = select(listenmaxfd+1, &fds, NULL, NULL, NULL);
if (csd == -1 && errno != EINTR)
log_unixerr("select",NULL,"select error", server_conf);
if (csd <= 0) continue;
--- 1129,1135 ----
for (;;) {
memcpy(&fds, &listenfds, sizeof(fd_set));
! csd = select(listenmaxfd+1, (int *) &fds, NULL, NULL, NULL);
if (csd == -1 && errno != EINTR)
log_unixerr("select",NULL,"select error", server_conf);
if (csd <= 0) continue;